u_int addressQueuedDup, addressQueuedCurrent, addressQueuedMax;
That means that the %d should be a %u in the message, so it should read:
traceEvent(CONST_TRACE_INFO, "Address resolution queue is full [%u slots].",
myGlobals.addressQueuedCurrent);
traceEvent(CONST_TRACE_INFO, "Addresses in excess won't be resolved.");
I wonder if it's getting decremented too many times...
1) I'll commit the above change
2) At the top of address.c (or in globals-defines.h), enable the debug for
this
DNS_DEBUG
and see what the output looks like. Warning, there may be a lot!
-----Burton
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> [EMAIL PROTECTED]
> Sent: Friday, January 23, 2004 3:01 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [Ntop] Address resolution queue is full...
>
>
>
> Well, I made some changes and now get a slightly different output. Please
> forgive me, I am not a C programmer.
>
> 23/Jan/2004 16:04:18 Address resolution queue is full [-3 slots].
> Addresses in excess won't be resolved.
> 23/Jan/2004 16:04:18 Addresses in excess won't be resolved.
>
> My changes were:
>
> /* Maximum number of queued addresses waiting to be resolved */
> #define MAX_NUM_QUEUED_ADDRESSES 8192 [from 4096]
>
> /*
> * Number of (optional) "AR - Address Resolution" threads,
> * i.e. dequeueAddressThreadId[] and numDequeueThreads in myGlobals.
> *
> * You might increase this if you have really slow dns resolution and are
> running
> * asyncronously.
> */
> #define MAX_NUM_DEQUEUE_THREADS 4 [from 1]
>
>
> Any thoughts anybody?
>
> --
>
> J. Eric Josephson
> Director of Network and System Operations
> 978-720-2159
> mailto:[EMAIL PROTECTED]
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop