You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been receiving disk space warnings on my server (main.ei-ie.org). After investigation, Liquidweb found that the storage/clockwork/ directory was consuming 292 GB of disk space due to a large number of JSON log files (2,158,730 files).
I’ve already removed all the files, but new files are being generated constantly. Could you please guide me on how to prevent this issue from recurring and ensure that the disk doesn't fill up again with huge log files?
Context:
The logs were generated when the application was in debug mode.?
The size of the clockwork/ directory keeps growing rapidly with JSON files.
I have already cleared the existing files, but they are regenerated immediately.
Is there a way to disable this excessive logging or configure it to reduce file generation? Any guidance would be much appreciated.
Thanks in advance,
Urmish Solanki
The text was updated successfully, but these errors were encountered:
Hey, Clockwork is by default enabled only when your Laravel app is in debug mode. If this is a production deployment, make sure the debug mode is disabled, this could lead to more security problems down the line. You can also explicitly disable Clockwork by setting CLOCKWORK_ENABLE to false.
Recently ran into this as well. running clockwork:clean didn't seem to do anything either. Currently attempting to remove the current set of json files in the terminal but there are so many and they are so big, so it is taking forever. I thought clockwork was supposed to only keep the last 30 days of data?
Hello,
I've been receiving disk space warnings on my server (main.ei-ie.org). After investigation, Liquidweb found that the storage/clockwork/ directory was consuming 292 GB of disk space due to a large number of JSON log files (2,158,730 files).
I’ve already removed all the files, but new files are being generated constantly. Could you please guide me on how to prevent this issue from recurring and ensure that the disk doesn't fill up again with huge log files?
Context:
The logs were generated when the application was in debug mode.?
The size of the clockwork/ directory keeps growing rapidly with JSON files.
I have already cleared the existing files, but they are regenerated immediately.
Is there a way to disable this excessive logging or configure it to reduce file generation? Any guidance would be much appreciated.
Thanks in advance,
Urmish Solanki
The text was updated successfully, but these errors were encountered: