mirror of
https://github.com/mthenw/frontail.git
synced 2026-04-26 10:15:52 +03:00
[GH-ISSUE #158] "Pkg: Error reading from file" #110
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/frontail#110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tamasgal on GitHub (Jan 26, 2019).
Original GitHub issue: https://github.com/mthenw/frontail/issues/158
I am using
frontailto monitor the log files coming from the DAQ system of a neutrino detector. We're very glad to have this tiny tool, thanks!The DAQ system runs on CentOS and I decided to get the self-contained binary, however sometimes when I start
frontail, I get the error:And the whole package seems to be broken. I then have to download it again (in fact I keep a backup copy and overwrite it regularly as a workaround).
This is probably caused due to the fact that when I run
frontailwith the--disable-usage-stats, I cannot quit it by pressing theCTRL+Ckeys, but I have to kill it usingkill -9 PID. I guess some files might get corrupted due to this hard shutdown.@mthenw commented on GitHub (Jan 30, 2019):
Hey @tamasgal,
thanks for creating the issue. I will take a look.
@mthenw commented on GitHub (Feb 21, 2019):
I released new version v.4.5.4. Please confirm that it works now.
@tamasgal commented on GitHub (Mar 27, 2019):
Unfortunately it's not working. When the process is killed, the app image is broken:
Can you reopen it?
@mthenw commented on GitHub (Apr 3, 2019):
@tamasgal which OS do you run?
@tamasgal commented on GitHub (Apr 3, 2019):
CentOS 7. It happens when the process is killed... 🤔
@tamasgal commented on GitHub (May 21, 2019):
Unfortunately we are still fighting with this issue, even after the latest update on signal handling.
@mthenw commented on GitHub (May 23, 2019):
Have the issue changes you reported it in January? I mean are you able to quit frontail with
CTRL+C? As I understand the issue is that when you kill the process withkill -9the next time you try to run it you get an error "Pkg: Error reading from file."?@tamasgal commented on GitHub (May 23, 2019):
We are currently evaluating it since it might be that someone copied over an old backup file (which we used in a cronjob to repair it). I'll report back!
FYI: Two days ago I changed to
supervisordand now we are managing also thefrontailapplication with that. It sendsSIGTERM, before the process was inside atmuxsession and when it got killed the package has been damaged.@mthenw commented on GitHub (May 29, 2019):
@tamasgal any update?
@tamasgal commented on GitHub (May 29, 2019):
Seems to work so far! I will close this...