-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After the configuration of full sense webhook, redis memory Skyrocketing #14541
Comments
@rust-cn |
2000+ project |
All kinds of webhooks are enabled? Could you please try to connect to the Redis for checking how many jobs are queued in the Redis? Connect to redis and check the data under the key |
@steven-zou |
@steven-zou |
Writing logs of the task into a separate log file is easy for the user to check the task log from the API/portal. Actually, jobservice has a log file sweeper, you need to check what's the duration to trigger the sweeping process. Maybe your duration is a little too long? |
thanks, I'll try to adjust the log retention time。 |
Close the issue now and reopen it if you have further comments then. |
When I configured webhook for all projects, there was a problem of rising memory in redis.
At the same time, the jobservice log keeps reporting errors:
After looking at the relevant code, I suspect that the job server may have generated a log file for each task, a large number of files, which exhausted inode and led to webhook sending failure. The failed webhook needs to be put into the redis queue to wait for retrying (default retrying 50 times).
The text was updated successfully, but these errors were encountered: