[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MAX_DATA hard coded somewhere? <= was: oversized [ports] section
- To: hobbit (at) hswn.dk
- Subject: MAX_DATA hard coded somewhere? <= was: oversized [ports] section
- From: "Jerry Yu" <jjj863 (at) gmail.com>
- Date: Tue, 8 Aug 2006 10:56:15 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=krHanT54aOmkMhRt8TndvRdrP2TkXa4mnakr1Wtk50SSPhFqDf/S6H4Xvey9vCE3ec0gC8dFjBrVPZ44rnxpHJoCyK4G24g4PAltScrw1ACCa4S65zyZpubtgbBoZet3ogAcn+gRmqr8Aj0oBscA0xwm3x87gFr0DMjeNZvWL3Y=
I bumped up the MAXMSG_DATA and MAXMSG_STATUS again, to 768 from 512
(was 256 by default). restarted hobbit ok. the list of SHM via ipcs
(appended below)
shows the 768K segment is created. However, an hour later, I still ran
into messages for hobbitd like this:
Oversize data/client msg from 10.77.9.106 truncated (n=722041, limit 524288)
This causes all sorts of problems: PROCS/MSGS/FILES got status
CLEAR/Non-reporting or false alerts due to required processes are
truncated from listings,
plus rrddata not gathered for count of PROCS, etc.
Questions
1) is MAX_DATA / MAX_STATUS hard-coded at 512K, somewhere?
2) any way to get around this ? The super-sized [ports] is here to
stay for a few months at least.
---- "hobbitservers.cfg"---cut----
MAXMSG_CLIENT = 1024
MAXMSG_DATA = 768
MAXMSG_STATUS=768
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x0101f2e0 2129920 hobbit 600 786432 2
0x0201f2e0 2162689 hobbit 600 786432 2
0x0301f2e0 2195458 hobbit 600 786432 2
0x0401f2e0 2228227 hobbit 600 262144 2
0x0501f2e0 2260996 hobbit 600 262144 1
0x0601f2e0 2293765 hobbit 600 32768 1
0x0701f2e0 2326534 hobbit 600 524288 2
0x0801f2e0 2359303 hobbit 600 524288 2
For regular user 'hobbit', ulimit don't have any limit set at 512K.
[hobbit (at) saturn ~]$ ulimit -aH
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 1024
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 16383
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
[hobbit (at) saturn ~]$ ulimit -aS
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 1024
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 16383
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited