Per private email, try -K.

G


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
Phillip Lynn
Sent: Wednesday, May 27, 2009 10:44 AM
To: [email protected]
Subject: Re: [Ntop] ntop problem

All,

Well it happened again. So I ran gdb on the ntop process that was
continually in the run
state. It looks like it was spawned off to handle a web request then
never died. Would
the sslwatchdog help this? We are going try using sslwatchdog. If anyone
has any ideas let us know.

gdb /usr/local/bin/ntop 22014
22014 nobody 1 132 0 73752K 69232K RUN 20:43 60.40% ntop
1892 nobody 4 20 0 73840K 69356K kserel 14:04 0.00% ntop


(gdb) bt
#0 0x2864f22a in pthread_sigmask () from /usr/lib/libpthread.so.2
#1 0x2864f1de in sigprocmask () from /usr/lib/libpthread.so.2
#2 0x286589ee in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
#3 0x2864c308 in fork () from /usr/lib/libpthread.so.2
#4 0x280b0e26 in handleHTTPrequest (from=
{hostFamily = 2, addr = {_hostIp4Address = {s_addr = 2130706433},
_hostIp6Address = {__u6_addr = {__u6_addr8 =
"\001\000\000\177\001?\005(J?d(?\002\000", __u6_addr16 = {1, 32512,
46081, 10245, 45130, 10340, 680, 0}, __u6_addr32 = {2130706433,
671462401, 677687370, 680}}}}}) at http.c:2619
#5 0x280f1209 in handleSingleWebConnection (fdmask=0xbf6fbcf4) at
webInterface.c:8747
#6 0x280f1679 in handleWebConnections (notUsed=0x0) at
webInterface.c:8599
#7 0x28652de9 in pthread_create () from /usr/lib/libpthread.so.2
#8 0x28a88b2b in _ctx_start () from /lib/libc.so.6

Thank You
Phillip Lynn

Phillip Lynn wrote:
> Hi Gary,
>
>   Thanks for the offer of help .  We do not have a cron job for ntop.
We
> are starting ntop with the following args:
> " -ivr1 -ndLM  -W 0 -w 127.0.0.1:3000 ".
>
> Thank You
> Phillip Lynn
>
>
> Gary Gatten wrote:
>   
>> Hello, I tried a dev version of 3.3.10 on FBSD 6.0 and had various
>> issues, but nothing like it spawning multiple instances on its own.
In
>> fact it usually will die if you try to run multiple instances without
>> the correct config - it tries to open th db's rw anf they're already
>> open so it aborts and exits.
>>
>> Do you have a cron job or something starting ntop? What are your ntop
>> args and prefs? Since I have FBSD ill try to help as much as
possible.
>>
>> ----- Original Message -----
>> From: [email protected] <[email protected]>
>> To: [email protected] <[email protected]>
>> Sent: Wed May 27 07:55:15 2009
>> Subject: [Ntop] ntop problem
>>
>> Hi,
>>
>>    Yesterday we upgraded a server to run ntop-3.3.10.  After letting
the
>> system run over night I found that ntop had multiple instances
running.
>> The systems performance was degraded severely with a load average of
>> 18.89.  Has anyone else seen this type of an issue and if so were you
>> able to correct the problem?  Why is ntop spawning the extra
processes?
>>
>>    We are running Freebsd 6.3 release with patches.
>>
>>
>> Below are lines cut from a top command.
>>
>> ntop problem
>>
>> |-+= 83294 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 00419 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 01824 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 06308 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 22994 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 28821 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 32621 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 36981 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 43051 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 45426 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 50496 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 58489 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 71660 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 86425 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 93937 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 96620 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | |--- 97587 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>> | \--- 97589 nobody /usr/local/bin/ntop -ivr1 -ndLM -W 0 -w
127.0.0.1:3000
>>
>> last pid: 10403;  load averages: 20.10, 19.46,
>> 18.89                                   up 12+21:00:30  07:19:39
>> 78 processes:  21 running, 57 sleeping
>> CPU states: 11.3% user,  0.0% nice, 87.5% system,  1.2% interrupt,
0.0%
>> idle
>> Mem: 252M Active, 40M Inact, 101M Wired, 16M Cache, 58M Buf, 65M Free
>> Swap: 2048M Total, 170M Used, 1878M Free, 8% Inuse
>>
>>  PID USERNAME  THR PRI NICE   SIZE    RES STATE    TIME   WCPU
COMMAND
>> 86425 nobody      1 127    0 74100K 62532K RUN     16:53  4.20% ntop
>> 28821 nobody      1 126    0 74220K 43680K RUN     59:37  4.15% ntop
>> 32621 nobody      1 126    0 74220K 43724K RUN     55:02  4.10% ntop
>> 1824 nobody      1 127    0 74100K 64672K RUN      6:31  4.10% ntop
>> 36981 nobody      1 126    0 74220K 44020K RUN     50:40  4.05% ntop
>> 22994 nobody      1 126    0 74220K 43280K RUN     68:32  4.00% ntop
>> 43051 nobody      1 125    0 74148K 55048K RUN     45:16  4.00% ntop
>> 45426 nobody      1 127    0 74148K 64908K RUN     43:19  4.00% ntop
>> 58489 nobody      1 125    0 74100K 53336K RUN     34:15  4.00% ntop
>> 96620 nobody      1 126    0 74100K 62704K RUN     10:12  4.00% ntop
>> 71660 nobody      1 126    0 74100K 59364K RUN     25:54  3.96% ntop
>> 97589 nobody      1 126    0 74100K 63708K RUN      9:25  3.96% ntop
>>  419 nobody      1 126    0 74100K 63536K RUN      7:26  3.96% ntop
>> 50496 nobody      1 126    0 74100K 61288K RUN     39:38  3.86% ntop
>> 93937 nobody      1 125    0 68336K 37740K RUN    161:01  3.81% ntop
>> 6308 nobody      1 124    0 68336K 38088K RUN    106:44  3.81% ntop
>> 97587 nobody      1 125    0 74100K 63708K RUN      9:26  3.76% ntop
>>
>>
>>
>> Thanks
>> Phillip Lynn
>> _______________________________________________
>> Ntop mailing list
>> [email protected]
>> http://listgateway.unipi.it/mailman/listinfo/ntop
>>
>> "This email is intended to be reviewed by only the intended recipient
>> and may contain information that is privileged and/or confidential.
If
>> you are not the intended recipient, you are hereby notified that any
>> review, use, dissemination, disclosure or copying of this email and
>> its attachments, if any, is strictly prohibited. If you have received
>> this email in error, please immediately notify the sender by return
>> email and delete this email from your system."
>>
------------------------------------------------------------------------
>>
>> _______________________________________________
>> Ntop mailing list
>> [email protected]
>> http://listgateway.unipi.it/mailman/listinfo/ntop
>>   
>>     
>
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>
>
>   

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop





<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'>
</div>
"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."
</font>

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to