-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 31 July 2002 10:25, Elizabeth Mattijsen wrote: > Are you sure that other threads are taking values off of the queue? And > that the memory growth is not just caused by the growing of the queue by > itself?
yes, we're processing the objects from the ->dequeue method and it works quite well. I also have implemented some debugging code, which uses ->pending. It shows the Queue-size varies between 0 and 100 entries (while processing about 50 objects per second). But I faced another problem lately. It seems that the task of enqueuing objects takes too long for our application. Imagine a deamon, taking packets from the interface and enqueues them. We get approx. 50 packets/second. When using the Queue, we loose about 30% of the packets. Seems to me, that they are lost, while the ->enqueue method is called. Do you have any experience concerning the speed of the enqueue method? It could also be an operating system specific issue: we use perl 5.8.0 and under linux we didn't face this problem, but now i'm testing with solaris 8 and have lots of packets "missed". Sorry, this might be off-topic, but since we experience missed packets, I might start over again and try using shared memory instead of a Queue. Thanks for your response, any further hints are welcome :-) ! cheers, Andy - ----------------------------------- Andreas Bourges CCIE #6947 (R&S) GSM: +49 178 7072022 e-mail: [EMAIL PROTECTED] - ----------------------------------- IsarNet AG Terminalstrasse Mitte 18 85356 M�nchen Tel.: 07000-isarnet Fax : 089-97007-200 http://www.isarnet.de - ----------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9R6JtRrny/uOBVy4RApoEAKCEOyLCZtW7bJ/qwW6oZcp2bWzuswCdG3s5 jS4n0WXd7jt/VivDrasOHAM= =9CJa -----END PGP SIGNATURE-----
