<br><font size=2 face="sans-serif">MAXMSG_CLIENT seems to need to allocate
a shared memory segment of equal size. If your kernel shared memory settings
are set too low (eg. if you are running defaults on solaris) then you may
not be able to allocate the segment. If that happens, things like you just
described seem to happen...  </font>
<br>
<br><font size=2 face="sans-serif">you could possibly have dangling segments
left over that were not cleaned up when you restarted hobbit, or possibly
another app.<br>
</font>
<br><font size=2 face="sans-serif">Try checking what is allocated with
"ipcs -a", and increasing the parameter "shmmax".</font>
<br><font size=2 face="sans-serif"><br>
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.<br>
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Everett, Vernon"
<Vernon.Everett@dpi.wa.gov.au></b> </font>
<p><font size=1 face="sans-serif">07/08/2006 09:40</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
hobbit@hswn.dk</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif"><hobbit@hswn.dk></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">RE: [hobbit] Message to long</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Hi Henrik<br>
<br>
Here's an interesting bug.<br>
Or at least I think it's a bug.<br>
I set the MAXMSG_CLIENT to 1024, and it fixed the problem I was having.<br>
(See below)<br>
<br>
Later on, I had to restart the server, and it crapped out.<br>
I remember that sometimes deleting ~hobbit/server/tmp/* before a startup<br>
can fix things, so I gave it a try.<br>
Still no go.<br>
I then restarted it with --debug, and the only log file getting written<br>
to was hobbitlaunch.log (See extract below)<br>
<br>
I then reversed the only thing that had changed - removed the<br>
MAXMSG_CLIENT entry, and it all started up fine.<br>
<br>
A bug? Or a PEBKAC?<br>
<br>
Regards<br>
   Vernon<br>
<br>
--- snip ---<br>
2006-08-07 16:23:54 Loading hostnames<br>
2006-08-07 16:23:54 Opening file<br>
/export/home/hobbit//server/etc/bb-hosts<br>
2006-08-07 16:23:54 Opening file<br>
/export/home/hobbit//server/etc/client-local.cfg<br>
2006-08-07 16:23:54 Loading saved state<br>
2006-08-07 16:23:54 Cannot access checkpoint file<br>
/export/home/hobbit//server/tmp/hobbitd.chk for restore<br>
2006-08-07 16:23:54 Setting up network listener on 0.0.0.0:1984<br>
2006-08-07 16:23:54 Setting up signal handlers<br>
2006-08-07 16:23:54 Setting up hobbitd channels<br>
2006-08-07 16:23:54 Setting up status channel (id=1)<br>
2006-08-07 16:23:54 calling ftok('/export/home/hobbit//server',1)<br>
2006-08-07 16:23:54 ftok() returns: 0x100748F<br>
2006-08-07 16:23:54 shmget() returns: 0x1200001E<br>
2006-08-07 16:23:54 Setting up stachg channel (id=2)<br>
2006-08-07 16:23:54 calling ftok('/export/home/hobbit//server',2)<br>
2006-08-07 16:23:54 ftok() returns: 0x200748F<br>
2006-08-07 16:23:54 shmget() returns: 0x1200001F<br>
2006-08-07 16:23:54 Setting up page channel (id=3)<br>
2006-08-07 16:23:54 calling ftok('/export/home/hobbit//server',3)<br>
2006-08-07 16:23:54 ftok() returns: 0x300748F<br>
2006-08-07 16:23:54 shmget() returns: 0x12000020<br>
2006-08-07 16:23:54 Setting up data channel (id=4)<br>
2006-08-07 16:23:54 calling ftok('/export/home/hobbit//server',4)<br>
2006-08-07 16:23:54 ftok() returns: 0x400748F<br>
2006-08-07 16:23:54 shmget() returns: 0x12000021<br>
2006-08-07 16:23:54 Setting up notes channel (id=5)<br>
2006-08-07 16:23:54 calling ftok('/export/home/hobbit//server',5)<br>
2006-08-07 16:23:54 ftok() returns: 0x500748F<br>
2006-08-07 16:23:54 shmget() returns: 0x12000022<br>
2006-08-07 16:23:54 Setting up enadis channel (id=6)<br>
2006-08-07 16:23:54 calling ftok('/export/home/hobbit//server',6)<br>
2006-08-07 16:23:54 ftok() returns: 0x600748F<br>
2006-08-07 16:23:54 shmget() returns: 0x12000023<br>
2006-08-07 16:23:54 Setting up client channel (id=7)<br>
2006-08-07 16:23:54 calling ftok('/export/home/hobbit//server',7)<br>
2006-08-07 16:23:54 ftok() returns: 0x700748F<br>
2006-08-07 16:23:54 shmget() returns: 0x12000024<br>
2006-08-07 16:23:54 Setting up clichg channel (id=8)<br>
2006-08-07 16:23:54 calling ftok('/export/home/hobbit//server',8)<br>
2006-08-07 16:23:54 ftok() returns: 0x800748F<br>
2006-08-07 16:23:54 Could not get shm of size 1048576: Invalid argument<br>
2006-08-07 16:23:54 Cannot setup clichg channel<br>
--- snip ---<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: Everett, Vernon [mailto:Vernon.Everett@dpi.wa.gov.au] <br>
Sent: Monday, 7 August 2006 12:17 PM<br>
To: hobbit@hswn.dk<br>
Subject: RE: [hobbit] Message to long<br>
<br>
Yep, that was it.<br>
Thanks Lars<br>
<br>
Cheers<br>
   Vernon <br>
<br>
-----Original Message-----<br>
From: lars ebeling [mailto:lars.ebeling@leopg9.no-ip.org]<br>
Sent: Monday, 7 August 2006 11:53 AM<br>
To: hobbit@hswn.dk<br>
Subject: Re: [hobbit] Message to long<br>
<br>
Have a look at hobbitserver.cfg manpage. MAXMSG_CLIENT<br>
<br>
Regards<br>
Lars<br>
<br>
----- Original Message -----<br>
From: "Everett, Vernon" <Vernon.Everett@dpi.wa.gov.au><br>
To: <hobbit@hswn.dk><br>
Sent: Monday, August 07, 2006 3:42 AM<br>
Subject: [hobbit] Message to long<br>
<br>
<br>
Hi all<br>
<br>
Despite my best efforts, my procs page remains purple.<br>
I found this in the hobbitd page - which also remains yellow.<br>
(Server name changed to pluto)<br>
<br>
--- snip ---<br>
Latest errormessages:<br>
Oversize data/client msg from 10.1.5.242 truncated (n=949733, limit<br>
524288)<br>
First line: pluto|sunos|sunos<br>
Oversize stachg msg from 10.1.5.242 for pluto:ports truncated (n=508447,<br>
limit=262144)<br>
Oversize page/ack/notify msg from 10.1.5.242 for pluto:ports truncated<br>
(n=508456, limit=262144) Oversize status msg from 10.1.5.242 for<br>
pluto:ports truncated (n=508452,<br>
limit=262144)<br>
Oversize data/client msg from 10.1.5.242 truncated (n=977049, limit<br>
524288)<br>
First line: pluto|sunos|sunos<br>
Oversize status msg from 10.1.5.242 for pluto:ports truncated (n=508448,<br>
limit=262144)<br>
--- snip ---<br>
<br>
I am assuming that the output from the ports and procs test is too<br>
large.<br>
How do we make Hobbit happy with the larger message?<br>
This machine is a proxy server, so we can expect many procs and a long<br>
ports output.<br>
<br>
Regards<br>
  Vernon<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
hobbit-unsubscribe@hswn.dk<br>
<br>
<br>
<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
hobbit-unsubscribe@hswn.dk<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
hobbit-unsubscribe@hswn.dk<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
hobbit-unsubscribe@hswn.dk<br>
<br>
<br>
</tt></font>
<br>