[IRCServices] out of buffer?

Torbjörn Svensson azoff at se.linux.org
Mon Jan 24 00:09:20 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Church wrote:
|      Hmm, in that case it shouldn't be a problem, unless you try grabbing
| lots of them at once.  What does OperServ STATS NETWORK say about buffer
| usage before and after trying to get the XML data?

First I send a 'stats network' to operserv.
[09:00:53] <Tobbe> STATS NETWORK
[09:00:53] -OperServ(service at host)- Data received:             8 kB
[09:00:53] -OperServ(service at host)- Data sent:                12 kB
[09:00:53] -OperServ(service at host)- Server socket buffers:     8 kB (1%)
[09:00:53] -OperServ(service at host)- Total socket buffers:     16 kB (1%)

Here I get the XML-output _ONE_ time, then I get the stats again.

[09:02:50] <Tobbe> STATS NETWORK
[09:02:50] -OperServ(service at host)- Data received:             8 kB
[09:02:50] -OperServ(service at host)- Data sent:                12 kB
[09:02:50] -OperServ(service at host)- Server socket buffers:     8 kB (1%)
[09:02:50] -OperServ(service at host)- Total socket buffers:  4194264 kB

As you can see, the socket buffer is somehow full(?) or maybe
overflowed. I am no experienced programmer, but one thing I can tell is
that it seams like the buffer never get's cleared. If you need anything
else, just tell me.


Thanks,
- --
~  .''`. Torbjörn Svensson, azoff (at) se (dot) linux (dot) org
~ : :' : 7EB9 2DC5 61AE DAB5 7099  BAC6 798E E39A DBDB 0CFD
~ `. `'  http://azoff.homeip.net | http://azoff.tty0.org
~   `--  http://www.se.linux.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB9K0weY7jmtvbDP0RAooeAKC6SEYqTMBW3ogpDMsBuzwlFvFFlwCgx4BJ
1So04ZEao+hwEnk708kIetE=
=b3JH
-----END PGP SIGNATURE-----