Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Multiple "CURLCOOKIE" file in /tmp dir #7790

Closed
tetsumaki opened this issue Aug 21, 2019 · 1 comment · Fixed by #8595
Closed

Multiple "CURLCOOKIE" file in /tmp dir #7790

tetsumaki opened this issue Aug 21, 2019 · 1 comment · Fixed by #8595
Labels
area/knowledge-base kind/bug priority/minor status/in-backlog A dev will begin to work on your modifications soon

Comments

@tetsumaki
Copy link

tetsumaki commented Aug 21, 2019

Centreon version : 19.04
OS : CentOS Linux release 7.6.1810 (Core)

Since activating APIs on users, or before, i dont know, the following crontab:

# cat /etc/cron.d/centreon | grep centK
* / 5 * * * * centreon / opt / rh / rh-php71 / root / usr / bin / php -q 
/usr/share/centreon/cron/centKnowledgeSynchronizer.php >> 
/var/log/centreon/knowledgebase.log 2> & 1

the crontab generates a file every time :

# ls -ltrah /tmp/CURLCOOKIE
-rw------- 1 centreon centreon 290 Aug 19 01:10 /tmp/CURLCOOKIEbBzogh
-rw------- 1 centreon centreon 290 Aug 19 01:15 /tmp/CURLCOOKIERIRt2O
-rw------- 1 centreon centreon 290 Aug 19 01:20 /tmp/CURLCOOKIE6XxBtj
-rw------- 1 centreon centreon 290 Aug 19 01:25 /tmp/CURLCOOKIEGzDBNB
-rw------- 1 centreon centreon 290 Aug 19 01:30 /tmp/CURLCOOKIE5YsKIn
[...]
# ls -ltrah /tmp/CURLCOOKIE | wc -l
743

Content of file :

# cat /tmp/CURLCOOKIEzYJh6h
# Netscape HTTP Cookie File
# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.

#HttpOnly_pprod.supervision.xxx.yyy    FALSE   /       FALSE   1566219015      UseDC   master
#HttpOnly_pprod.supervision.xxx.yyy    FALSE   /       FALSE   1566219015      UseCDNCache     false

Found here : https://github.com/centreon/centreon/blob/master/www/class/centreon-knowledge/wikiApi.class.php#L74

I have 2 days of uptime, it's ok for now but...

@lpinsivy
Copy link
Contributor

Hi @tetsumaki thank you for your feedback. We will add this in our backlog.

Regards,

@lpinsivy lpinsivy added area/knowledge-base kind/bug priority/minor status/in-backlog A dev will begin to work on your modifications soon labels Aug 22, 2019
garnier-quentin added a commit that referenced this issue Apr 14, 2020
sc979 pushed a commit that referenced this issue May 2, 2020
sc979 pushed a commit that referenced this issue May 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/knowledge-base kind/bug priority/minor status/in-backlog A dev will begin to work on your modifications soon
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants