[ Date Index ][
Thread Index ]
[ <= Previous by date /
[ Next by date /
thread => ]
[LUG] Strange network / perl problem
-----BEGIN PGP SIGNED MESSAGE-----
I've got a rather strange problem i've never seen before, and it's driving me
2 perl scripts. One is the server, one is the client.
server script sits on a box and runs from inetd (eww - yes), when it gets a
connection, it prints out traffic stuff and exits.
The client just conencts to the server every 1 minute, collects the stats and
updates a rrd.
This all works fine, except for a few times every hour:
Invalid line from x.x.x.1:[ADDR]: Connection reset by peer
it just seems to kill the connection half way through, and i cant't for the
life of me work out why.
it shouldn't be because fof the ammount of data being printed and buffer
overruns, as the sockets are blocking. Maybe it's inetd being freaky.
I also can't seem to reproduce it by running the script from command line.
The scripts are here:
Server - http://theo.me.uk/downloads/rrd_graph-server.txt
Client - http://theo.me.uk/downloads/rrd_graph-client.txt
if anyoen can see why the hell this is happening, it would be much
appreciated, i've been pulling my hair out over it for a few days now, to no
Your goose is cooked.
(Your current chick is burned up too!)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
-----END PGP SIGNATURE-----
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.