MAX_DATA hard coded somewhere? <= was: oversized [ports] section

Jerry Yu jjj863 at gmail.com
Tue Aug 8 16:56:15 CEST 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060808/2a5d3c4a/attachment.html>


More information about the Xymon mailing list