NTOP unresponsive high CPU utilization

View: New views
4 Messages — Rating Filter:   Alert me  

NTOP unresponsive high CPU utilization

by csalinardi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I'm running the 2.2 release.  I have tested this on 2 firewalls, NTOP seems to work fine at low network utilization, but once it reaches a few megabits it freaks out.  I can't connect to it anymore and it starts using all of the available CPU.  Even once the network utilization drops off NTOP is still unresponsive and continues to run at full CPU for what seems to be indefinitely.  I have let it run for hours and it keeps going.  Restarting NTOP seems to clear it up temporarily.  Initially I thought my slow box might have caused it, but I tested it on a P4 with the same results.  Has anyone else experienced this?  Any clues to what might be causing it?

Thanks,
Chris

Re: NTOP unresponsive high CPU utilization

by csalinardi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Here's what I get in the syslog, it seems to happen when the ntop webpage is being accessed/refreshed:

May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL pointer @ http.c:3787
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL pointer @ http.c:3787
May 29 14:58:02 efw-1243508257 ntop[29551]:   EPIPE during sending of page to web client
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL pointer @ http.c:3787
May 29 14:58:02 efw-1243508257 ntop[29551]:   EPIPE during sending of page to web client
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL pointer @ http.c:3787
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL pointer @ http.c:3787
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL pointer @ http.c:3787
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL pointer @ http.c:3787
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL pointer @ http.c:3787
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL pointer @ http.c:3787
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL pointer @ http.c:3787
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL pointer @ http.c:3787

Re: NTOP unresponsive high CPU utilization

by csalinardi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Okay, I figured out a workaround.  I edited the ntop init script to use http for port 3001 instead of https and it seems to be working much better.  Perhaps you can put an option for http/https on the traffic monitoring page.

Thanks,
Chris

Re: NTOP unresponsive high CPU utilization

by Fresel Michal - hi competence e.U. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

indeed, it was expected an update from 3.2 to 3.3 would resolve that issue
as it didn't help i reopened the bug on
http://bugs.endian.com/view.php?id=367

i would recomend to stick to your workaround as this issue is already
reported to ntop
http://www.ntop.org/trac/ticket/74

Mike

Am 29.05.2009 22:41 Uhr schrieb "csalinardi" unter <csalinardi@...>:

>
> Here's what I get in the syslog, it seems to happen when the ntop webpage is
> being accessed/refreshed:
>
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR**
> SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL
> routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR
> [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length
> mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL
> pointer @ http.c:3787
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR**
> SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL
> routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR
> [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length
> mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL
> pointer @ http.c:3787
> May 29 14:58:02 efw-1243508257 ntop[29551]:   EPIPE during sending of page
> to web client
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR**
> SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL
> routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR
> [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length
> mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL
> pointer @ http.c:3787
> May 29 14:58:02 efw-1243508257 ntop[29551]:   EPIPE during sending of page
> to web client
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR**
> SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL
> routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR
> [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length
> mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL
> pointer @ http.c:3787
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR**
> SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL
> routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR
> [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length
> mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL
> pointer @ http.c:3787
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR**
> SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL
> routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR
> [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length
> mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL
> pointer @ http.c:3787
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR**
> SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL
> routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR
> [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length
> mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL
> pointer @ http.c:3787
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR**
> SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL
> routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR
> [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length
> mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL
> pointer @ http.c:3787
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR**
> SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL
> routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR
> [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length
> mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL
> pointer @ http.c:3787
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR**
> SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL
> routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR
> [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length
> mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL
> pointer @ http.c:3787
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR**
> SSL(ssl_init_connection)ERROR [Thread 29551]: error:1408A09F:SSL
> routines:SSL3_GET_CLIENT_HELLO:length mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **ERROR** SSL(read)ERROR
> [Thread 29551]: error:1408A09F:SSL routines:SSL3_GET_CLIENT_HELLO:length
> mismatch at s3_srvr.c(855)
> May 29 14:58:02 efw-1243508257 ntop[29551]:   **WARNING** free of NULL
> pointer @ http.c:3787



------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Efw-user mailing list
Efw-user@...
https://lists.sourceforge.net/lists/listinfo/efw-user