[ZBX-9732] First network error, wait for 10 seconds Created: 2015 Jul 27  Updated: 2017 May 30  Resolved: 2015 Jul 28

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G), Proxy (P), Server (S)
Affects Version/s: 2.4.5
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Nikolay Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File tsp.qa2.filtered.pcap    

 Description   

Zabbix server strace:

zabbix_strace.log:[pid 5300] 00:15:39.490405 connect(6, {sa_family=AF_INET, sin_port=htons(10050), sin_addr=inet_addr("*.*.*.*")}, 16 <unfinished ...>
zabbix_strace.log:[pid 5300] 00:15:39.490766 <... connect resumed> ) = 0
zabbix_strace.log:[pid 5300] 00:15:39.490790 semop(1474561, {{0, -1, SEM_UNDO}}, 1 <unfinished ...>
zabbix_strace.log:[pid 5300] 00:15:39.491369 <... semop resumed> ) = 0
zabbix_strace.log:[pid 5300] 00:15:39.491396 stat("/var/log/zabbix/zabbix_proxy.log", <unfinished ...>
zabbix_strace.log:[pid 5300] 00:15:39.491422 <... stat resumed> {st_dev=makedev(8, 3), st_ino=54001668, st_mode=S_IFREG|0664, st_nlink=1, st_uid=997, st_gid=997, st_blksize=4096, st_blocks=896024, st_size=458756778, st_atime=2015/07/25-00:15:39, st_mtime=2015/07/25-00:15:39, st_ctime=2015/07/25-00:15:39}) = 0
zabbix_strace.log:[pid 5300] 00:15:39.491458 open("/var/log/zabbix/zabbix_proxy.log", O_RDWR|O_CREAT|O_APPEND, 0666 <unfinished ...>
zabbix_strace.log:[pid 5300] 00:15:39.491485 <... open resumed> ) = 8
zabbix_strace.log:[pid 5300] 00:15:39.491510 stat("/etc/localtime", {st_dev=makedev(8, 3), st_ino=95946836, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=3661, st_atime=2015/07/24-19:35:02, st_mtime=2015/04/29-10:08:57, st_ctime=2015/04/29-10:08:57}) = 0
zabbix_strace.log:[pid 5300] 00:15:39.491553 fstat(8, {st_dev=makedev(8, 3), st_ino=54001668, st_mode=S_IFREG|0664, st_nlink=1, st_uid=997, st_gid=997, st_blksize=4096, st_blocks=896024, st_size=458756778, st_atime=2015/07/25-00:15:39, st_mtime=2015/07/25-00:15:39, st_ctime=2015/07/25-00:15:39}) = 0
zabbix_strace.log:[pid 5300] 00:15:39.491592 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa417403000
zabbix_strace.log:[pid 5300] 00:15:39.491630 write(8, " 5300:20150725:001539.491 Sendi"..., 49) = 49
zabbix_strace.log:[pid 5300] 00:15:39.491667 close(8) = 0
zabbix_strace.log:[pid 5300] 00:15:39.491696 munmap(0x7fa417403000, 4096) = 0
zabbix_strace.log:[pid 5300] 00:15:39.491728 semop(1474561, {{0, 1, SEM_UNDO}}, 1 <unfinished ...>
zabbix_strace.log:[pid 5300] 00:15:39.491763 <... semop resumed> ) = 0
zabbix_strace.log:[pid 5300] 00:15:39.491789 write(6, "disk.error\n", 11 <unfinished ...>
zabbix_strace.log:[pid 5300] 00:15:39.491825 <... write resumed> ) = 11
zabbix_strace.log:[pid 5300] 00:15:39.491851 read(6, <unfinished ...>
zabbix_strace.log:[pid 5300] 00:15:42.560878 <... read resumed> 0x7ffd93b5ca2c, 5) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
zabbix_strace.log:[pid 5300] 00:15:42.560923 --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
zabbix_strace.log:[pid 5300] 00:15:42.561666 rt_sigreturn( <unfinished ...>
zabbix_strace.log:[pid 5300] 00:15:42.561706 <... rt_sigreturn resumed> ) = -1 EINTR (Interrupted system call)

disk.error - this is UserParameter.
On server we have error like this:

22762:20150721:171853.639 Item [node_name:system.cpu.util[,system,avg1]] error: Get value from agent failed: ZBX_TCP_READ() failed: [4] Interrupted system call
22762:20150721:171853.639 End of get_value():NETWORK_ERROR

And on agent:

Process listener error: ZBX_TCP_WRITE() failed: [32] Broken pipe

In attachment tcpdump from zabbix proxy host.



 Comments   
Comment by Aleksandrs Saveljevs [ 2015 Jul 27 ]

Could you please describe what the actual problem is?

Comment by Nikolay [ 2015 Jul 27 ]

You get more information in the thread (Russian):
https://www.zabbix.com/forum/showthread.php?p=169669&posted=1#post169669

Comment by Nikolay [ 2015 Jul 27 ]

If you need additional information (tcpdumps, strace, logs)
I can make it for you.

Comment by richlv [ 2015 Jul 27 ]

please see https://www.zabbix.org/wiki/Docs/bug_reporting_guidelines - notably "Describe the problem in the issue itself - do not link to external sites (forum, pastebin sites etc)"

Comment by Aleksandrs Saveljevs [ 2015 Jul 28 ]

The issue description provides no indication of a bug. Let's continue the discussion on the forum.

Generated at Sat Apr 05 04:15:13 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.