Talk:Performance

From Koha Wiki
Jump to navigation Jump to search

memcached disabled by default?

As far as I know from the command-line installation from the tarball (in 3.22), memcached is disabled by default. I did not touch any memcached-related setting upon installation, though I installed memcached. I see that Koha is trying to contact memcached (and SELinux denies the operation):

# grep denied /var/log/audit/audit.log
type=AVC msg=audit(1455271584.989:2315): avc:  denied  { name_connect } for  pid=16859 comm="background-job-" dest=11211 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:memcache_port_t:s0 tclass=tcp_socket permissive=0
type=AVC msg=audit(1455271587.623:2316): avc:  denied  { name_connect } for  pid=16861 comm="manage-marc-imp" dest=11211 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:memcache_port_t:s0 tclass=tcp_socket permissive=0
type=AVC msg=audit(1455271590.882:2317): avc:  denied  { name_connect } for  pid=16867 comm="batch_records_a" dest=11211 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:memcache_port_t:s0 tclass=tcp_socket permissive=0
type=AVC msg=audit(1455273878.688:2350): avc:  denied  { name_connect } for  pid=16970 comm="addbooks.pl" dest=11211 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:memcache_port_t:s0 tclass=tcp_socket permissive=0
type=AVC msg=audit(1455273886.533:2352): avc:  denied  { name_connect } for  pid=16976 comm="mainpage.pl" dest=11211 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:memcache_port_t:s0 tclass=tcp_socket permissive=0
type=AVC msg=audit(1455274402.118:2375): avc:  denied  { name_connect } for  pid=12605 comm="circulation-hom" dest=11211 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:memcache_port_t:s0 tclass=tcp_socket permissive=0
type=AVC msg=audit(1455274407.659:2376): avc:  denied  { name_connect } for  pid=12609 comm="search.pl" dest=11211 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:memcache_port_t:s0 tclass=tcp_socket permissive=0

Will Koha fallback to something else and live with it, or is this situation something to worry about? Nemo bis 12:20, 12 February 2016 (EST)