Strange bug in 0.4.1.1-posix (run on freebsd).
After some days hub start to see many users under same ip, but ips are different!
Restart helps, but every day restarts isn't a good idea...
We run 0.4.1.1 on ubuntu and gentoo with several thousand users but I never faced this problem. Can you show some example?
Today it happened again.
I see many same ips in user list. When i check ips using lua script, i see same addresses too.
Perhaps this is related to option #53 (Check IP in commands). Now i turned it on, perhaps this will help.
Also, how can i view some debug log?
Quote from: Elix on 12 October, 2008, 18:35:46
Also, how can i view some debug log?
With the UDP Debug Receiver (http://www.ptokax.org/files/PX-UDP-DBG-RECV-2.2.1.7z) and the "!debug <udp_port>" command :)
Nothing... Debug log is empty.
Also this bug goes every two days, and i restart a hub.
All scripts i wrote myself :)
it appears that the number of users with the same address is no more than setting #112 - Maximum users from same IP.
I don't think that the error was in one script, because all the scripts see user with one address, although it should be another.
And hub sends $UserIP with this ip too.
Have you got some compile warnings?
This could be done by a simple "firewall" and/or "router" error config, either hardware or software.
I suggest checking both.
/Snooze
Again :(
In debug:
19:11:06 - [ERR] accept() for port 411 has returned an INVALID_SOCKET.
19:11:07 - [ERR] accept() for port 411 has returned an INVALID_SOCKET.
19:11:08 - [ERR] accept() for port 411 has returned an INVALID_SOCKET.
19:11:09 - [ERR] accept() for port 411 has returned an INVALID_SOCKET.
19:11:10 - [ERR] accept() for port 411 has returned an INVALID_SOCKET.
19:11:11 - [ERR] accept() for port 411 has returned an INVALID_SOCKET.
19:11:12 - [ERR] accept() for port 411 has returned an INVALID_SOCKET.
19:11:13 - [ERR] accept() for port 411 has returned an INVALID_SOCKET.
19:11:14 - [ERR] accept() for port 411 has returned an INVALID_SOCKET.
19:11:15 - [ERR] accept() for port 411 has returned an INVALID_SOCKET.
19:11:16 - [ERR] accept() for port 411 has returned an INVALID_SOCKET.
19:11:17 - [ERR] accept() for port 411 has returned an INVALID_SOCKET.
19:11:18 - [ERR] accept() for port 411 has returned an INVALID_SOCKET.
19:11:19 - [ERR] accept() for port 411 has returned an INVALID_SOCKET.
...
With the UDP Debug Receiver and the "!debug <udp_port>" command
Thanks ATAG
+1
I started ptokax on another server (freebsd too). 0 users, only me.
I see a lot of messages: "[ERR] accept() for port 411 has returned an INVALID_SOCKET" every one second.
What is it? :)
Try higher port number then 1024...
Quote from: ATAG on 21 November, 2008, 22:19:37
Try higher port number then 1024...
[ERR] accept() for port 4000 has returned an INVALID_SOCKET
[ERR] accept() for port 56734 has returned an INVALID_SOCKET
This is very strange :)
Also, there are no error messages when hub runs on windows.
I am in no way a programmer but digging through the web I found that invalid_socket should not be returned under Unix. Look at this page (http://ubuntuforums.org/archive/index.php/t-903776.html).
You will get this message on any (but 2) errors in accept(). The "timering" (1 error/sec) is very interesting :)