You are not logged in.
Bonjour
Est-il normal d'avoir des process qui passent à "Defunct" ?
php -q -d -f tracker_fullsync.php --thread_id=1 --process_id=2510932 --type=
20111 pts/1 Z+ 0:02 | \_ [php] <defunct>
20112 pts/1 Z+ 0:01 | \_ [php] <defunct>
20113 pts/1 S+ 0:01 | \_ php -q tracker_fullsync.php --update_device_process=1 --id=12408 --FK_process=2510932 --FK_agent_process=02500
20114 pts/1 Z+ 0:01 | \_ [php] <defunct>
20115 pts/1 R+ 0:01 | \_ php -q tracker_fullsync.php --update_device_process=1 --id=12414 --FK_process=2510932 --FK_agent_process=02500
20116 pts/1 S+ 0:02 | \_ php -q tracker_fullsync.php --update_device_process=1 --id=12431 --FK_process=2510932 --FK_agent_process=02500
20118 pts/1 R+ 0:01 | \_ php -q tracker_fullsync.php --update_device_process=1 --id=12818 --FK_process=2510932 --FK_agent_process=02500
20119 pts/1 Z+ 0:02 | \_ [php] <defunct>
20120 pts/1 S+ 0:01 | \_ php -q tracker_fullsync.php --update_device_process=1 --id=12411 --FK_process=2510932 --FK_agent_process=02500
20121 pts/1 Z+ 0:02 | \_ [php] <defunct>
J'essaye de comprendre ce qui ne fonctionne pas. L'agent semble bien fonctionner. Par contre, le script serveur se plante assez souvent.
A+
Ben
Offline
c'ets quoi ça : --update_device_process=1 --id=12414 --FK_process=2510932 ?
Normalement il faut lancer le script sans arguments.
Pour les plantages, ça peut arriver si trop de mémoire utilisé, essaye de réduite le nombre de core/threads sur le script serveur
Offline
c'ets quoi ça : --update_device_process=1 --id=12414 --FK_process=2510932 ?
Aucune idée. Je lance
sh ./tracker_fullsync.sh
et rien d'autre.
Rien à voir (a priori). Lors de l'execution du script agent j'ai le message suivant :
root@vs_linux1:/var/www/html/glpi/plugins/agent> perl tracker_agent.pl
Threads version: 1.07
Perl is compiled with old version of thread, this script is run in degraded mod and can crash often
== Discovery devices ==
The file has been successfully uploaded
A thread exited while 7 threads were running (#1)
(W threads)(S) When using threaded Perl, a thread (not necessarily the main
thread) exited while there were still other threads running.
Usually it's a good idea to first collect the return values of the
created threads by joining them, and only then exit from the main
thread. See threads.
The file has been successfully uploaded
== Query devices ==
The file has been successfully uploaded
The file has been successfully uploaded
Coté core/threads, j'ai 1/10. A priori, rien de conséquent. Je vais diminuer à 5.
Offline
pour le serveur passe le à 4 - 5 max
A thread exited while 7 threads were running (#1) : ça c'est pas bon, t'a un thread qui a planté, donc diminue les threads/cores
Offline
OK.
Serveur => 4 thread
Agent => Decouverte : 2; interrogation : 2
Je vois ce que ça donne
Offline