Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

segfault on one website (2 replies)

$
0
0
I have an error when I try to run a report, this error is only on one website of 16. I can reproduce this error when I try to run a report on this specific site id:

piwik version = 2.0.2
php version = 5.4.4
webserver = lighttpd

# /usr/bin/php5 /data/tra/misc/cron/archive.php --url=https://host.dns.net --force-idsites=7

INFO [2014-01-22 16:20:09] [8157d] ---------------------------
INFO [2014-01-22 16:20:09] [8157d] INIT
INFO [2014-01-22 16:20:09] [8157d] Querying Piwik API at: https://host.dns.net/index.php
INFO [2014-01-22 16:20:09] [8157d] Running Piwik 2.0.2 as Super User: admin
INFO [2014-01-22 16:20:09] [8157d] ---------------------------
INFO [2014-01-22 16:20:09] [8157d] NOTES
INFO [2014-01-22 16:20:09] [8157d] - Reports for today will be processed at most every 7200 seconds. You can change this valu
e in Piwik UI > Settings > General Settings.
INFO [2014-01-22 16:20:09] [8157d] - Reports for the current week/month/year will be refreshed at most every 3600 seconds.
INFO [2014-01-22 16:20:09] [8157d] - Archiving was last executed without error 1 hours 19 min ago
INFO [2014-01-22 16:20:09] [8157d] - Will process 1 websites (--force-idsites)
INFO [2014-01-22 16:20:09] [8157d] ---------------------------
INFO [2014-01-22 16:20:09] [8157d] START
INFO [2014-01-22 16:21:41] [8157d] ERROR: Got invalid response from API request: https://host.dns.net/index.php?mod
ule=API&method=VisitsSummary.getVisits&idSite=7&period=day&date=last52&format=php&token_auth=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
&trigger=archivephp. Response was '<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>500 - Internal Server Error</title>
</head>
<body>
<h1>500 - Internal Server Error</h1>
</body>
</html>'
INFO [2014-01-22 16:21:41] [8157d] WARNING: Empty or invalid response '' for website id 7, Time elapsed: 91.821s, skipping
INFO [2014-01-22 16:21:41] [8157d] Starting Piwik reports archiving...
INFO [2014-01-22 16:21:41] [8157d] Done archiving!
INFO [2014-01-22 16:21:41] [8157d] ---------------------------
INFO [2014-01-22 16:21:41] [8157d] SUMMARY
INFO [2014-01-22 16:21:41] [8157d] Total daily visits archived: 0
INFO [2014-01-22 16:21:41] [8157d] Archived today's reports for 0 websites
INFO [2014-01-22 16:21:41] [8157d] Archived week/month/year for 0 websites
INFO [2014-01-22 16:21:41] [8157d] Skipped 12 websites: no new visit since the last script execution
INFO [2014-01-22 16:21:41] [8157d] Skipped 0 websites day archiving: existing daily reports are less than 7200 seconds old
INFO [2014-01-22 16:21:41] [8157d] Skipped 0 websites week/month/year archiving: existing periods reports are less than 3600 seconds old
INFO [2014-01-22 16:21:41] [8157d] Total API requests: 0
INFO [2014-01-22 16:21:41] [8157d] done: 0/1 0%, 0 v, 0 wtoday, 0 wperiods, 0 req, 91823 ms, 1 errors. eg. 'Got invalid response from API request: https://host.dns.net/index.php?module=API&method=VisitsSummary.getVisits&idSite=7&period=day&date=last52&format=php&token_auth=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&trigger=archivephp. Response was '<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>500 - Internal Server Error</title>
</head>
<body>
<h1>500 - Internal Server Error</h1>
</body>
</html>''
INFO [2014-01-22 16:21:41] [8157d] Time elapsed: 91.823s
INFO [2014-01-22 16:21:41] [8157d] ---------------------------
INFO [2014-01-22 16:21:41] [8157d] SCHEDULED TASKS
INFO [2014-01-22 16:21:41] [8157d] Starting Scheduled tasks...
INFO [2014-01-22 16:21:41] [8157d] No task to run
INFO [2014-01-22 16:21:41] [8157d] done
INFO [2014-01-22 16:21:41] [8157d] ---------------------------
INFO [2014-01-22 16:21:41] [8157d] ---------------------------
INFO [2014-01-22 16:21:41] [8157d] SUMMARY OF ERRORS
INFO [2014-01-22 16:21:41] [8157d] Error: Got invalid response from API request: https://host.dns.net/index.php?module=API&method=VisitsSummary.getVisits&idSite=7&period=day&date=last52&format=php&token_auth=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&trigger=archivephp. Response was '<?xml version="1.0" encoding="iso-8859-1"?>
INFO [2014-01-22 16:20:09] [8157d] ---------------------------
INFO [2014-01-22 16:20:09] [8157d] INIT
INFO [2014-01-22 16:20:09] [8157d] Querying Piwik API at: https://host.dns.net/index.php
INFO [2014-01-22 16:20:09] [8157d] Running Piwik 2.0.2 as Super User: admin
INFO [2014-01-22 16:20:09] [8157d] ---------------------------
INFO [2014-01-22 16:20:09] [8157d] NOTES
INFO [2014-01-22 16:20:09] [8157d] - Reports for today will be processed at most every 7200 seconds. You can change this valu
e in Piwik UI > Settings > General Settings.
INFO [2014-01-22 16:20:09] [8157d] - Reports for the current week/month/year will be refreshed at most every 3600 seconds.
INFO [2014-01-22 16:20:09] [8157d] - Archiving was last executed without error 1 hours 19 min ago
INFO [2014-01-22 16:20:09] [8157d] - Will process 1 websites (--force-idsites)
INFO [2014-01-22 16:20:09] [8157d] ---------------------------
INFO [2014-01-22 16:20:09] [8157d] START
INFO [2014-01-22 16:21:41] [8157d] ERROR: Got invalid response from API request: https://host.dns.net/index.php?mod
ule=API&method=VisitsSummary.getVisits&idSite=7&period=day&date=last52&format=php&token_auth=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
&trigger=archivephp. Response was '<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>500 - Internal Server Error</title>
</head>
<body>
<h1>500 - Internal Server Error</h1>
</body>
</html>'
INFO [2014-01-22 16:21:41] [8157d] WARNING: Empty or invalid response '' for website id 7, Time elapsed: 91.821s, skipping
INFO [2014-01-22 16:21:41] [8157d] Starting Piwik reports archiving...
INFO [2014-01-22 16:21:41] [8157d] Done archiving!
INFO [2014-01-22 16:21:41] [8157d] ---------------------------
INFO [2014-01-22 16:21:41] [8157d] SUMMARY
INFO [2014-01-22 16:21:41] [8157d] Total daily visits archived: 0
INFO [2014-01-22 16:21:41] [8157d] Archived today's reports for 0 websites
INFO [2014-01-22 16:21:41] [8157d] Archived week/month/year for 0 websites
INFO [2014-01-22 16:21:41] [8157d] Skipped 12 websites: no new visit since the last script execution
INFO [2014-01-22 16:21:41] [8157d] Skipped 0 websites day archiving: existing daily reports are less than 7200 seconds old
INFO [2014-01-22 16:21:41] [8157d] Skipped 0 websites week/month/year archiving: existing periods reports are less than 3600 seconds old
INFO [2014-01-22 16:21:41] [8157d] Total API requests: 0
INFO [2014-01-22 16:21:41] [8157d] done: 0/1 0%, 0 v, 0 wtoday, 0 wperiods, 0 req, 91823 ms, 1 errors. eg. 'Got invalid response from API request: https://host.dns.net/index.php?module=API&method=VisitsSummary.getVisits&idSite=7&period=day&date=last52&format=php&token_auth=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&trigger=archivephp. Response was '<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>500 - Internal Server Error</title>
</head>
<body>
<h1>500 - Internal Server Error</h1>
</body>
</html>''
INFO [2014-01-22 16:21:41] [8157d] Time elapsed: 91.823s
INFO [2014-01-22 16:21:41] [8157d] ---------------------------
INFO [2014-01-22 16:21:41] [8157d] SCHEDULED TASKS
INFO [2014-01-22 16:21:41] [8157d] Starting Scheduled tasks...
INFO [2014-01-22 16:21:41] [8157d] No task to run
INFO [2014-01-22 16:21:41] [8157d] done
INFO [2014-01-22 16:21:41] [8157d] ---------------------------
INFO [2014-01-22 16:21:41] [8157d] ---------------------------
INFO [2014-01-22 16:21:41] [8157d] SUMMARY OF ERRORS
INFO [2014-01-22 16:21:41] [8157d] Error: Got invalid response from API request: https://host.dns.net/index.php?module=API&method=VisitsSummary.getVisits&idSite=7&period=day&date=last52&format=php&token_auth=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&trigger=archivephp. Response was '<?xml version="1.0" encoding="iso-8859-1"?>


also following error in the kern.log

vmunix: [3059501.422895] php-cgi[5841]: segfault at 71 ip 0000000000000071 sp 00007fff337a3e48 error 14 in php5-cgi[400000+6ef000]

the webserver log says:

2014-01-22 17:21:41: (mod_fastcgi.c.2543) unexpected end-of-file (perhaps the fastcgi process died): pid: 5823 socket: unix:/tmp/xxxxxxxx-ssl.socket5790-0
2014-01-22 17:21:41: (mod_fastcgi.c.3329) response not received, request sent: 860 on socket: unix:/tmpxxxxxxxx-ssl.socket5790-0 for /index.php?module=API&method=VisitsSummary.getVisits&idSite=7&period=day&date=last52&format=php&token_auth=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&trigger=archivephp, closing connection


have anyone a solution??
Thanks

Harry

Viewing all articles
Browse latest Browse all 4243

Trending Articles