1752781 Members
6420 Online
108789 Solutions
New Discussion юеВ

Re: proc full

 
madhudeepan
Frequent Advisor

proc full

when i checked dmesg and syslog ,, it shows proc was full

i used this command

sar -v 2 20

output for this
23:49:16 text-sz ov proc-sz ov inod-sz ov file-sz ov
23:49:18 N/A N/A 971/4200 0 12015/35648 0 14526/2147483647 0
23:49:20 N/A N/A 971/4200 0 12015/35648 0 14526/2147483647 0
23:49:22 N/A N/A 971/4200 0 12017/35648 0 14529/2147483647 0
23:49:24 N/A N/A 972/4200 0 12028/35648 0 14544/2147483647 0
23:49:26 N/A N/A 972/4200 0 12028/35648 0 14544/2147483647 0
23:49:28 N/A N/A 972/4200 0 12030/35648 0 14546/2147483647 0
23:49:30 N/A N/A 972/4200 0 12031/35648 0 14547/2147483647 0
23:49:32 N/A N/A 973/4200 0 12025/35648 0 14541/2147483647 0
23:49:34 N/A N/A 972/4200 0 12033/35648 0 14548/2147483647 0
23:49:36 N/A N/A 974/4200 0 12037/35648 0 14556/2147483647 0
23:49:38 N/A N/A 975/4200 0 12031/35648 0 14546/2147483647 0
23:49:40 N/A N/A 968/4200 0 12024/35648 0 14531/2147483647 0
23:49:42 N/A N/A 968/4200 0 12023/35648 0 14527/2147483647 0
23:49:44 N/A N/A 971/4200 0 12033/35648 0 14542/2147483647 0
23:49:46 N/A N/A 971/4200 0 12034/35648 0 14540/2147483647 0
23:49:48 N/A N/A 971/4200 0 12036/35648 0 14542/2147483647 0
23:49:50 N/A N/A 971/4200 0 12037/35648 0 14545/2147483647 0
23:49:52 N/A N/A 971/4200 0 12043/35648 0 14553/2147483647 0
23:49:54 N/A N/A 971/4200 0 12043/35648 0 14551/2147483647 0
23:49:56 N/A N/A 968/4200 0 12041/35648 0 14549/2147483647 0


what i have to do now to increase the value



13 REPLIES 13
Turgay Cavdar
Honored Contributor

Re: proc full

increase the proc size:
kctune nproc=value_you_need
madhudeepan
Frequent Advisor

Re: proc full

we have planed to increase shmmax value,,

by increasing shmax value will system gets reboot or not ..

if i changed the value is it possiable to take copy of the old kernel parameters
madhudeepan
Frequent Advisor

Re: proc full

ho turgay

if i increase will machine gets rebooted ..


Turgay Cavdar
Honored Contributor

Re: proc full

shmmax is dynamic parameter you dont need to reboot your system. For help type man shmmax.To save your config type:
kconfig -s config_name
Fabio Ettore
Honored Contributor

Re: proc full

Hi,

I cannot see proc: table is full as you have 970 processes on 4200 which is the value of kernel parameter nproc. Maybe you see messages in syslog.log because in the past nproc limit was reached.

Also about shmmax the tunable can be changed immediately without reboot.

Best regards,
Fabio

WISH? IMPROVEMENT!
madhudeepan
Frequent Advisor

Re: proc full

hi Fabio


right now i checked with sar command

proc-sz value is 1114/4200

at what condition do proc will get full

what is the max and min value
Fabio Ettore
Honored Contributor

Re: proc full

Hi Fabio,

in the showed condition (1114/4200) proc table IS NOT full.
You should get the message "proc: table is full" when the value of the first column will be equal or almost to the value on the second column.

To get constraints about min and max of nproc read the following:

# kctune -vq nproc
Tunable nproc
Description Maximum number of processes on the system
Module pm
.........
Constraints nproc >= 100
nproc <= 30000
nproc >= maxuprc + 5
nproc <= nkthread - 100
nproc >= semmnu + 4
Can Change Immediately or at Next Boot


HTH.

Best regards,
Fabio
WISH? IMPROVEMENT!
madhudeepan
Frequent Advisor

Re: proc full

yes ,, i accept your point 1114/4400 not as full ,,, but then why i get a message in dmesg and syslog ,,

id not so what can i do with the logs in syslg and dmesg


Fabio Ettore
Honored Contributor

Re: proc full

Hi,

consider that dmesg retains even old messages in its buffer, instead I don't understand what about syslog.log.
Do you see the message of proc: table is full right now into the syslog.log?

Could you please attach it here?

Fabio
WISH? IMPROVEMENT!