| Newsgroups |
gmane.mail.spam.crm114 |
| Message-ID |
<[email protected]> |
Hi,
I'm still battling memory usage on my admittedly cheap & cheesy VPS
environment.
crm keeps failing with 'can't fork your minion' messages. (On syscalls.) I
looked at the code and found that syscall uses fork(), which makes a
complete copy of the parent process. I'm not an experienced c-programmer
but I assume the memory usage doubles there and then.
I believe the crm process uses some 50+ mb of memory, so fork would lead
to 100+ megabytes usage. This is what I did:
vmstat
crm mailreaver.crm
Ctrl-Z
vmstat
This vmstat before and after gave me the 50+ number. This seems like an
awful lot.
I tried to use much smaller .css files (cssutil -S 250) but this didn't
change anything.
Is there anything to be done about this. I've read that crm uses memory
mapping instead of file IO to get performance. I'll happily trade
performance for less memory usage.
Thanks for reading this! :-)
Ferenc
------------------------------------------------------------------------------