Incearca sa vezi ce e prin /etc/security/limits.conf vis-a-vis de data si de rss.
E posibil ca limitele astea sa fie setate de catre httpd fara ajutorul fisierului mai sus mentionat (fisierul controleaza doar modulul pam_limits).
Mihai RUSU wrote:
Salut
Am dat un mesaj acu cateva zile legat de a afla memoria utilizata de
kernel.
Din cate stiu eu ca sa vad memoria utilizata de aplicatii (+kernel?) la
output-ul comenzii free citesc a doua linie acolo unde e -/+
buffers/cache. In general am vazut ca acolo arata memoria utilizata FARA
caching.
Ex.
$ free
total used free shared buffers cached
Mem: 256136 251632 4504 0 7048 181536
-/+ buffers/cache: 63048 193088
Swap: 136512 9824 126688
So acei 63048 ar trebui sa fie kbytes utilizati de aplicatii (+kernel
eventual). So nu as avea nici un motiv sa imi apara ca imi omoara
httpd-uri din motive de memorie, right ?
Out of Memory: Killed process 5575 (httpd).
Out of Memory: Killed process 5607 (httpd).
Out of Memory: Killed process 18811 (httpd).
Out of Memory: Killed process 18812 (httpd).
Out of Memory: Killed process 18785 (httpd).
Out of Memory: Killed process 19261 (httpd).
Out of Memory: Killed process 19674 (httpd).
Out of Memory: Killed process 19673 (httpd).
Out of Memory: Killed process 18722 (httpd).
Out of Memory: Killed process 18814 (httpd).
Out of Memory: Killed process 18909 (httpd).
Out of Memory: Killed process 18924 (httpd).
Out of Memory: Killed process 18232 (httpd).
Out of Memory: Killed process 18851 (httpd).
Ce imi scapa ?
PS: un cat /proc/meminfo :
$ cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 262283264 256868352 5414912 0 7319552 187953152
Swap: 139788288 10059776 129728512
MemTotal: 256136 kB
MemFree: 5288 kB
MemShared: 0 kB
Buffers: 7148 kB
Cached: 180432 kB
SwapCached: 3116 kB
Active: 35492 kB
Inactive: 167388 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 256136 kB
LowFree: 5288 kB
SwapTotal: 136512 kB
SwapFree: 126688 kB
Thanks
----------------------------
Mihai RUSU
Disclaimer: Any views or opinions presented within this e-mail are solely
those of the author and do not necessarily represent those of any company,
unless otherwise specifically stated.
---
Pentru dezabonare, trimiteti mail la [EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'.
REGULI, arhive si alte informatii: http://www.lug.ro/mlist/
---
Pentru dezabonare, trimiteti mail la [EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'.
REGULI, arhive si alte informatii: http://www.lug.ro/mlist/
