--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG+un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG
Thanks again
bt this is not rhel , I have the server suselinux version 11
IN the logs the processes which invoked oom-killer are sshd, then top, httpd2-prefork and then osiris.cgi.
After a few minutes the server was normal so that is why I am not able to make out what actully may have caused the problem.
On Fri, Jul 29, 2011 at 12:04 PM, kandarp thaker <kandarp...@gmail.com> wrote:Hi Niyati,Yes it shows that apache i.e http2 consumes more memory and has a leakage https://bugzilla.redhat.com/show_bug.cgi?id=497077 this gives u more insight. Are you using rhel5. Then after some time it goes on killing other processes to free up the memory.
Thanks,
Kandarp
IT Admin-Consultant
Inferno Solutions
Go with the best
www.inferno.co.in
All Linux-Java-Web-Voip Solutions-Training under one Roof
M:-9978926593On Fri, Jul 29, 2011 at 11:55 AM, Niyati Dave <niya...@gmail.com> wrote:
Hi
thanks for your response
just a few queries.. does this occur because process start utilising high memory or the number of processes running increase on the server?
I could see the above logs continuously: like at one instance it says :
kernel: httpd2-prefork invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=0
....
then after a few seconds
kernel: osiris.cgi invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=0
....
Kernel: cron invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=0
....
--
Hello Sir,
thanks for the response and explaination:
1 query I have the physical memory : 4102 M
and swap space : 2055 M
Is it recommended to increase the swap more?
--- On Fri, Jul 29, 2011 at 5:52 PM, Alok Thaker <alok...@gmail.com> wrote:
| It is always recommended to have swap memory as twice of physical memory as
| per linux fundatmentals ,
\--
No. It was due to expensive RAM on the old architectures in the early
days. Linux memory management is quite proficient since 2.6, and this
false notion doesn't apply today. You can run GNU/Linux even without
any swap.
SK
--
Shakthi Kannan
http://www.shakthimaan.com
--- On Fri, Jul 29, 2011 at 11:33 PM, Alok Thaker <alok...@gmail.com> wrote:
| and here kernel version wasn't discussed
\--
Linux is the kernel. You only gave (incorrect) information regarding
the Linux kernel which I quoted and replied. Now, you are saying
kernel version was not discussed. Read the replies, slowly, carefully
before replying.
=== QUOTED ===
On Fri, Jul 29, 2011 at 5:52 PM, Alok Thaker <alok...@gmail.com>
wrote:
| It is always recommended to have swap memory as twice of physical memory
| as per linux fundatmentals ,
\--
=== END ===
Please don't send HTML e-mail to the list. Please change your e-mail
client settings to send plain ASCII text. It is already mentioned in
the VGLUG mail footers:
http://www.catb.org/~esr/faqs/smart-questions.html#formats
--- On Sat, Jul 30, 2011 at 11:04 AM, Alok Thaker <alok...@gmail.com> wrote:
| If you see the mail chain nirmal also recommended that in old linux kernels
| it was done like that and for your kind information I still use swap for my
| servers for improvising the performance and as i said still swap is used in
| 2.6 versions of kernel and latest 3.0 release too and definitely it helps.As
| such the person who asked the question in group, she has also made a swap
| partition if you look at the mail chains.
\--
These have nothing to do with my reply. Read the context correctly,
and re-read my reply. My reply was on the old thumb rule of using swap
as twice the RAM size.
Please don't top post in a mailing list.
Hello Sir,
thanks for the response and explaination:
1 query I have the physical memory : 4102 M
and swap space : 2055 M
Is it recommended to increase the swap more?
Thanks
Niyati
If not, then you need to create a file or partition on the system and
create new swap space.
Check out this, http://www.thegeekstuff.com/2010/08/how-to-add-swap-space/
Hi all
I am continuously facing the same logs and problem again. I want to try out increasing the swap. What I know is creating a swap file or a new swap partition. Is there any way to increase the present swap which is already of 2G.
Waiting for resonse
Thanks
Niyati--
Below is the output of top -b -u wwwrun -n 1
top - 12:58:50 up 130 days, 1:46, 1 user, load average: 22.64, 22.90, 20.38
Tasks: 127 total, 19 running, 107 sleeping, 0 stopped, 1 zombie
Cpu(s): 9.7%us, 0.4%sy, 0.0%ni, 89.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.1%st
Mem: 4201096k total, 4061640k used, 139456k free, 12768k buffers
Swap: 2104472k total, 1126172k used, 978300k free, 69968k cached
I have the value of MaxSpareServers 10. Should I still try changing.
On Mon, Aug 1, 2011 at 7:01 PM, ElectroMech <elect...@electromech.info> wrote:
Hi,On Mon, Aug 1, 2011 at 4:23 PM, Niyati Dave <niya...@gmail.com> wrote:
Below is the output of top -b -u wwwrun -n 1
top - 12:58:50 up 130 days, 1:46, 1 user, load average: 22.64, 22.90, 20.38
Tasks: 127 total, 19 running, 107 sleeping, 0 stopped, 1 zombie
Cpu(s): 9.7%us, 0.4%sy, 0.0%ni, 89.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.1%st
Mem: 4201096k total, 4061640k used, 139456k free, 12768k buffers
Swap: 2104472k total, 1126172k used, 978300k free, 69968k cachedCan you reduce
Hii
This is the free -m
total used free shared buffers cached
Mem: 4102 4069 32 0 4 39
-/+ buffers/cache: 4025 76
Swap: 2055 2038 17
Today it has remained fully utilised- swap and also sending the output of top
top - 16:15:45 up 130 days, 5:03, 2 users, load average: 12.20, 12.14, 13.94
Tasks: 115 total, 10 running, 105 sleeping, 0 stopped, 0 zombie
Cpu(s): 9.7%us, 0.4%sy, 0.0%ni, 89.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.1%st
Mem: 4201096k total, 4161232k used, 39864k free, 11604k buffers
Swap: 2104472k total, 2093824k used, 10648k free, 51360k cached10271 wwwrun 20 0 97740 28m 6052 R 40 0.7 0:02.64 osiris.cgi
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10277 wwwrun 20 0 97376 24m 6296 R 40 0.6 0:02.06 osiris.cgi
10281 wwwrun 20 0 83064 12m 5284 R 40 0.3 0:01.30 osiris.cgi
5729 wwwrun 20 0 378m 273m 860 R 38 6.7 10:10.27 osiris.cgi
21345 wwwrun 20 0 941m 434m 328 R 38 10.6 40:34.26 osiris.cgi
30444 wwwrun 20 0 807m 430m 860 R 38 10.5 27:06.21 osiris.cgi
14356 wwwrun 20 0 926m 529m 324 D 36 12.9 45:46.06 osiris.cgi
10264 wwwrun 20 0 124m 57m 6204 R 32 1.4 0:04.60 osiris.cgi
12162 wwwrun 20 0 943m 480m 324 R 32 11.7 49:07.30 osiris.cgi
25712 wwwrun 20 0 924m 603m 964 R 32 14.7 34:36.30 osiris.cgi
28097 wwwrun 20 0 893m 525m 964 D 32 12.8 31:20.03 osiris.cgi