Hy guys,

My installation
owncloud-5.0.12-12.1.noarc
CentOS 6.5
php-5.3.3-27.el6_5.x86_64
mysql-5.1.73-3.el6_5.x86_64

I'm using user_ldap module and I think after the release of client 1.6 version my httpd load is beacoming very very high
I can reproduce it, when the first client becomes to sync httpd
I see something like this

192.168.5.170 - alessandroxxx [31/Jul/2014:10:17:20 +0200] "PUT /owncloud/remote.php/webdav/2014/xxxxxx.pdf HTTP/1.1" 400 279 "-" "Mozilla/5.0 (Linux) mirall/1.6.2" 192.168.5.170 - - [31/Jul/2014:10:19:22 +0200] "PROPFIND /owncloud/remote.php/webdav HTTP/1.1" 207 8420 "-" "Mozilla/5.0 (Linux) csyncoC/0.91.5 neon/0.30.0

And two process with high CPU load, ff a strace the PID this is the output:

lstat("/tmp/owncloud-5280c696e34be/LDAP-user_ldap--dc80fb6a95e75c46368d612fb489203a", {st_mode=S_IFREG|0660, st_size=8, ...}) = 0 lstat("/tmp/owncloud-5280c696e34be", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
lstat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=69632, ...}) = 0
open("/tmp/owncloud-5280c696e34be/LDAP-user_ldap--dc80fb6a95e75c46368d612fb489203a", O_RDONLY) = 21
fstat(21, {st_mode=S_IFREG|0660, st_size=8, ...}) = 0
lseek(21, 0, SEEK_CUR) = 0
fstat(21, {st_mode=S_IFREG|0660, st_size=8, ...}) = 0
read(21, "YjowOw==", 8192) = 8
read(21, "", 8192) = 0
read(21, "", 8192) = 0
close(21) = 0
stat("/var/www/html/owncloud/data/alessio/gallery/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/www/html/owncloud/data/alessio/gallery/..png", F_OK) = -1 ENOENT (No such file or directory)
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "<\0\0\0\3SELECT * FROM users WHERE"..., 64) = 64
read(19, "\1\0\0\1\3.\0\0\2\3def\10owncloud\5users\5use"..., 16384) = 199
poll([{fd=19, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(19, "K\0\0\0\3SELECT COUNT() FROM `users"..., 79) = 79
read(19, "\1\0\0\1\1\36\0\0\2\3def\0\0\0\10COUNT()\0\f?\0\25\0\0"..., 16384) = 63
getcwd("/var/www/html/owncloud", 4096) = 23
lstat("/var/www/html/owncloud/lib/base.php", {st_mode=S_IFREG|0640, st_size=28153, ...}) = 0 lstat("/var/www/html/owncloud/lib", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0 lstat("/var/www/html/owncloud", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/var/www/html", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/var/www", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/var/www/html/owncloud/lib/base.php/cmJ4DH", O_RDWR|O_CREAT|O_EXCL, 0600) = -1 ENOTDIR (Not a directory)
getcwd("/var/www/html/owncloud", 4096) = 23
open("/tmp/2hTaVo", O_RDWR|O_CREAT|O_EXCL, 0600) = 21
^CProcess 3215 detached

This on owncloud.log

{"app":"files_trashbin","message":"remove \"***** .odt.v1390922794\" fom trash bin because it is older than 180","level":1,"time":"2014-07-31T08:17:21+00:00"} {"app":"user_ldap","message":"readAttribute: uid=alessio,ou=people,dc=directory,dc=nh found","level":0,"time":"2014-07-31T08:22:20+00:00"} {"app":"user_ldap","message":"readAttribute: uid=stefanof,ou=people,dc=directory,dc=nh found","level":0,"time":"2014-07-31T08:22:20+00:00"}

Do you need more info? Can you help me?

I fill a bug here:
https://github.com/owncloud/mirall/issues/2019

--
Alessio Fattorini - @ale_fattorini
Nethesis srl - Pesaro (Italy)
_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to