Forum archive
Piwik (ERR_EMPTY_RESPONSE)
Hi guys,
I am running proxmox 3.2-2, I tried Piwik 13.0-1 => everything worked correctly (also the wp-piwik plugin integration into WP cms).
BUT! :)
After maybe 2 days the piwik server was unreachable (ERR_EMPTY_RESPONSE).
This happened 2 times (the past 2 weeks). At first i just removed and created a new CT in proxmox.
Now I wanted to restore a backup - got an error "Unexpected EOF in archive" and "Error is not recoverable: exiting now" => this is a proxmox archive error, but nevertheless im sad, because I lost my data from the CT. (I dont know if webmin worked - and cant try now since the restore archive is corrupted and the CT was deleted before the restore operation => nice!...)
I noticed a big difference in the memory consuption - when it was working it was about 400MB, when it died it was about 100MB... so something was not running. (duh!...)
I tried updating the CT, rebooting, restarting the individual services... nothing helped.
In both cases i made a guest user with viewing privileges. (maybe about 5 users may have tried it?... there were 20 visitors to my watched page in total)
Both tries were around the "heartbleed" bug - could some updates have done this?
I dont think someone hacked/crashed it on purpose.
Any ideas? Has someone encountered this error before? You can easily test it by setting it up and waiting 1/2 days... :)
Thanks for any suggestions in advance gyus!
And it worked... Not really much more to say about it... Sorry that's probably not hugely useful but honestly that's all I did!
Also FWIW my Pwik server is going fine... I haven't actually configured it much so perhaps there is some bug somewhere that doesn't rear it's head until a certain specific set of settings are made... However it sounds like you didn't do much in the way of config before your error occurred.
Also FWIW in Proxmox the CTs can be manually backed up really easily. Just copy /var/lib/vz/private/<CTID> somewhere (preferably while the server is stopped) then you can restore it by copying it back in. AFAIK the builtin PVE CT backup does a similar thing, although it uses tar to compress the container contents! AFAIK tar can safely be used to compress a running CT (as can rsync) although IMO a stopped CT is ideal.
TBH I would be looking at the PVE host for issues. I had a PVE host some time ago that did strange things with CTs (VMs were fine). I noticed that using tar compression (gz or bz2; both compressing and uncompressing) both on the PVE host and inside CTs would sometimes result in failure or corruption. Sometimes copying large files would also error (it even caused a kernel panic on one occasion). After spending a fair bit of time trying to troubleshoot the issue (and coming up blank) nearly 3 years later (after working around the issue, then upgrading the hardware and re-purposing the original hardware) I discovered that I had a bad stick of RAM!