HTTP Anti-Virus Proxy
http://havp.hege.li/forum/

more processes then MAXSERVERS
http://havp.hege.li/forum/viewtopic.php?f=3&t=653
Page 1 of 1

Author:  dmelekhov [ 12 Dec 2011 14:35 ]
Post subject:  more processes then MAXSERVERS

Hello!

I run HAVP 0.92 on RedHat 5.7 x86-64.
MAXSERVERS value was 200.
But after problem with connecting to parent:
12/12/2011 13:56:11 Could not connect to parent proxy (192.168.22.254/proxy.belkam.com:8092)

number of processes grows (very quick, in minute, as I see in my monotoring) up to 401,so abiut a hour later they eat all memory:
12/12/2011 15:05:06 Could not fork proxychild: Cannot allocate memory
12/12/2011 15:05:17 Could not fork proxychild: Cannot allocate memory

Is this known problem? How can I solve it?

Thank you!

Author:  dmelekhov [ 14 Dec 2011 06:45 ]
Post subject:  Re: more processes then MAXSERVERS

Hello!

As I know now 2-3 times more processes is OK.
Question is why havp eats all memory (16Gb)?
Yesterday I had the same problem so I had to hard reset server :-(
btw, previously I used 0.89 on another host with just 4Gb ram on the same load and only problem I had was too high (up to 10) load average...
Is there any way to limit havp memory?

Thank you!

Author:  hege [ 14 Dec 2011 16:29 ]
Post subject:  Re: more processes then MAXSERVERS

I can only think of few things right now..

- Allocate more swap so virtual memory can be backed
- Try compiling 32-bit havp

What does top/ps show as memory usage for processes when you encounter this?

Author:  dmelekhov [ 15 Dec 2011 12:57 ]
Post subject:  Re: more processes then MAXSERVERS

Thank you for answer, but I moved havp 0.89 to ramdisk on old server, looks good on our load.
btw, it is 64 bit too.

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/