Hi everyone!
We are using FreeBSD 10.1p4 with databases/mysql56-server 5.6.24 and have some performance problems compared to an Linux System with the same Hardware/mysqld setup.
While searching for the reason we found the following this, that does not arise on the Linux boxes. Maybe you have some idea about that?
The 445 is one of the used filedescriptors of /tmp/mysql.sock - the others used by the server are shown, too.
The /tmp dir is tmpfs an we have plenty of RAM and SSD storage on these machines.
The second thing we get from this check is:
which comes less often - maybe each second a 'pair' of such timeouts.
We just can assume this might point to the source of our performance problems, as we do not find any obviously that we could look up in the logs or things.
Any help, is really welcome and when I missed some needed information, please let me know!
Many thanks in advance!
Jimmy
We are using FreeBSD 10.1p4 with databases/mysql56-server 5.6.24 and have some performance problems compared to an Linux System with the same Hardware/mysqld setup.
While searching for the reason we found the following this, that does not arise on the Linux boxes. Maybe you have some idea about that?
truss -p `cat /var/db/mysql/*.pid` produces tons of this output (maybe 10-20 per second or more, depending on load):
Code:
sendto(445,"\^A\0\0\^A\^AT\0\0\^B\^Cdef\^Pna"...,117,0x0,NULL,0x0) = 117 (0x75)
recvfrom(445,0xaa50bf000,4,0x0,0x0,0x0) ERR#35 'Resource temporarily unavailable'
poll({445/POLLIN|POLLPRI},1,28800000) = 1 (0x1)
recvfrom(445,"s\0\0\0",4,0x0,NULL,0x0) = 4 (0x4)
recvfrom(445,"\^CSELECT `main_table`.* FROM `b"...,115,0x0,NULL,0x0) = 115 (0x73)
sendto(445,"\^A\0\0\^A\^T?\0\0\^B\^Cdef\^Pna"...,1641,0x0,NULL,0x0) = 1641 (0x669)
recvfrom(445,0xaa50bf000,4,0x0,0x0,0x0) ERR#35 'Resource temporarily unavailable'
poll({445/POLLIN|POLLPRI},1,28800000) = 1 (0x1)
recvfrom(445,"{\0\0\0",4,0x0,NULL,0x0) = 4 (0x4)
recvfrom(445,"\^CSELECT `main_table`.* FROM `b"...,123,0x0,NULL,0x0) = 123 (0x7b)
sendto(445,"\^A\0\0\^A\^T?\0\0\^B\^Cdef\^Pna"...,1641,0x0,NULL,0x0) = 1641 (0x669)
recvfrom(445,0xaa50bf000,4,0x0,0x0,0x0) ERR#35 'Resource temporarily unavailable'
poll({445/POLLIN|POLLPRI},1,28800000) = 1 (0x1)
recvfrom(445,"d\0\0\0",4,0x0,NULL,0x0) = 4 (0x4)
recvfrom(445,"\^CSELECT `core_session`.* FROM "...,100,0x0,NULL,0x0) = 100 (0x64)
sendto(445,"\^A\0\0\^A\^CR\0\0\^B\^Cdef\^Pna"...,295,0x0,NULL,0x0) = 295 (0x127)
recvfrom(445,0xaa50bf000,4,0x0,0x0,0x0) ERR#35 'Resource temporarily unavailable'
poll({445/POLLIN|POLLPRI},1,28800000) = 1 (0x1)
recvfrom(445,"\M^U\n\0\0",4,0x0,NULL,0x0) = 4 (0x4)
recvfrom(445,"\^CINSERT INTO `core_session` (`"...,2709,0x0,NULL,0x0) = 2709 (0xa95)
sendto(445,"\a\0\0\^A\0\^A\0\^B\0\0\0",11,0x0,NULL,0x0) = 11 (0xb)
recvfrom(445,0xaa50bf000,4,0x0,0x0,0x0) ERR#35 'Resource temporarily unavailable'
The 445 is one of the used filedescriptors of /tmp/mysql.sock - the others used by the server are shown, too.
The /tmp dir is tmpfs an we have plenty of RAM and SSD storage on these machines.
The second thing we get from this check is:
Code:
_umtx_op(0x80122d128,0xf,0x0,0x18,0x7ffffe3f1de0,0x0) ERR#60 'Operation timed out'
clock_gettime(13,{1432061827.000000000 }) = 0 (0x0)
gettimeofday({1432061827.170639 },0x0) = 0 (0x0)
_umtx_op(0x80122d110,0xf,0x0,0x18,0x7ffffe5f2dd0,0x0) ERR#60 'Operation timed out'
select(0,0x0,0x0,0x0,{0.999000 }) = 0 (0x0)
select(0,0x0,0x0,0x0,{1.000000 }) = 0 (0x0)
gettimeofday({1432061827.215284 },0x0) = 0 (0x0)
gettimeofday({1432061827.216048 },0x0) = 0 (0x0)
gettimeofday({1432061827.216698 },0x0) = 0 (0x0)
gettimeofday({1432061827.217732 },0x0) = 0 (0x0)
gettimeofday({1432061827.217487 },0x0) = 0 (0x0)
clock_gettime(13,{1432061827.000000000 }) = 0 (0x0)
_umtx_op(0x80122d128,0xf,0x0,0x18,0x7ffffe3f1de0,0x0) ERR#60 'Operation timed out'
_umtx_op(0x80122d110,0xf,0x0,0x18,0x7ffffe5f2dd0,0x0) ERR#60 'Operation timed out'
which comes less often - maybe each second a 'pair' of such timeouts.
We just can assume this might point to the source of our performance problems, as we do not find any obviously that we could look up in the logs or things.
Any help, is really welcome and when I missed some needed information, please let me know!
Many thanks in advance!
Jimmy