4.2-beta - large client data causes clientdata task to crash
Hi Henrik,
I have a hobbit client (AIX 5.1) attempting to send >340000 bytes of data to the hobbit server (AIX 5.2) - mainly output from ports test.
The result is the clientdata task terminates and the client rrd files are not updated.
hobbitlaunch.log 2006-06-09 15:24:53 Loading saved state 2006-06-09 15:24:53 Setting up network listener on 0.0.0.0:1984 2006-06-09 15:24:53 Setting up signal handlers 2006-06-09 15:24:53 Setting up hobbitd channels 2006-06-09 15:24:53 Setting up logfiles 2006-06-09 15:27:51 Task bbhistory terminated, status 1 2006-06-09 15:32:52 Task clientdata terminated, status 1 2006-06-09 15:37:54 Task clientdata terminated, status 1 2006-06-09 15:42:56 Task clientdata terminated, status 1 2006-06-09 15:47:58 Task clientdata terminated, status 1
hobbitd.log 2006-06-09 15:24:53 Setup complete 2006-06-09 15:27:50 Oversize stachg msg from 10.52.41.22 for rs010a:ports truncated (n=284932, limit=262144) 2006-06-09 15:27:50 Oversize status msg from 10.52.41.22 for rs010a:ports truncated (n=284943, limit=262144)
clientdata.log 2006-06-09 15:47:58 Worker process died with exit code 0, terminating
No core files are generated.
I have set MAXLINE to 524288 in hobbitserver.cfg
Is there another parameter I need to tweak to cater for the large amount of client data?
Regards,
Chris
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited.
If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither RWE npower nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
On Fri, Jun 09, 2006 at 03:59:39PM +0100, Morris, Chris (Shared Services) wrote:
I have a hobbit client (AIX 5.1) attempting to send >340000 bytes of data to the hobbit server (AIX 5.2) - mainly output from ports test.
The result is the clientdata task terminates and the client rrd files are not updated.
hobbitlaunch.log 2006-06-09 15:24:53 Loading saved state 2006-06-09 15:24:53 Setting up network listener on 0.0.0.0:1984 2006-06-09 15:24:53 Setting up signal handlers 2006-06-09 15:24:53 Setting up hobbitd channels 2006-06-09 15:24:53 Setting up logfiles 2006-06-09 15:27:51 Task bbhistory terminated, status 1 2006-06-09 15:32:52 Task clientdata terminated, status 1 2006-06-09 15:37:54 Task clientdata terminated, status 1
A large client message shouldn't be causing problems. It might get truncated and thereby lose some data, but it should cause the clientdata task to stop.
If you could send me a copy of the large message (taken directly from the clients' ~hobbit/client/tmp/msg*txt file), your hobbit-clients.cfg file and the host-entry in bb-hosts, that would be very helpful.
BTW, the MAXLINE setting is for compatibility with BB extension script. If you want to bump the max. size of client messages, see the MAXMSG_CLIENT setting in the hobbitserver.cfg(5) man-page.
Regards, Henrik
participants (2)
-
CHRIS.MORRIS@RWEnpower.com
-
henrik@hswn.dk