Hay muchos ficheros XML del mismo Agente Software, ¿Qué está pasando?
Hay muchos ficheros XML del mismo Agente Software, ¿Qué está pasando?
El Agente Software de Pandora envía datos cada vez que se cumple su intervalo, sabiendo esto tomaremos como ejemplo un intervalo de 5 minutos. Si tras un intervalo observamos que llega más de un XML con el mismo nombre de agente se puede deber a diferentes causas:
xml_buffer : Si tenemos configurado a1 este campo, los XML que genere el plugin y no puedan ser enviados al servidor por algún problema, se almacenarán y se enviarán en la siguiente ejecución en que sea posible. Así si recibe varios XML del mismo agente pueden ser XML antiguos. Hace algunas versiones había un fallo o bug por el que el buffer enviaba todo el tiempo los XML y no los borraba (para descartar este error actualice a la versión más actual).
Encolamiento en el procesamiento del servidor. Esta causa se debe a que los XML de ese agente u otros se han ido encolando porque el servidor se ha caído o tiene demasiada carga. Esto causa que los archivos se queden sin procesar y por tanto se acumulen hasta un gran número dependiendo de la cantidad de agentes. Para solucionar esto pude aumentar el número de hilos del servidor de datos y reiniciarlo, eliminar todos estos ficheros XML encolados o moverlos a otra carpeta e ir enviándolos a la carpeta data_in paulatinamente.
Como última opción en versiones recientes puede habilitar temporalmente el token de dataserver_lifo en /etc/pandora/pandora_server.conf.
data_BADXML . Si el formato de los XML del agente en el servidor tiene este formato indica que el XML generado está mal formado. Puede deberse a caracteres que no tengan la misma codificación del agente o a cualquier otro problema. Para depurarlo (debugging) pueden utilizar la herramienta xmllint sobre el fichero marcado como badxml y les indicará la línea en la que esta fallando.
We use technologies like cookies to store and/or access device information. We do this to improve browsing experience and to show (non-) personalized ads. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Please note:
This action will also remove this member from your connections and send a report to the site admin.
Please allow a few minutes for this process to complete.