• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

plesk-php-cleanuper turn off email notifications

paul133

New Pleskian
Hi
I am getting hourly emails notify me of "cleaned up" sessions.

They are very large and filling up the email account and slowing my email client.

I can not find anywhere to turn off these email notifications?

Can this be done for plesk-php-cleanuper from control panel or ssh somewhere?
 
Thanks for reply,

I have applied a fix ( https://kb.plesk.com/en/127120 ) and the fix ( https://kb.plesk.com/en/128185 ) for the "find 24 " error message.
And the above.

But I am still getting emails and with the "find" error....

email received 30MB
"/etc/cron.hourly/backup-plesk-php-cleanuper:

/usr/lib64/plesk-9.0/php_session_cleaner
/var/lib/php/session
/var/lib/php/session/sess_r8ljd18h07rta341iu4nt9lgg1

..................

/var/lib/php/session/sess_hkkaqngnqdqfav5eqnopm978n7
find: 24: No such file or directory"


Current plesk-php-cleanuper
----------------------------------------
# This purges session files older than X, where X is defined in seconds
# as the largest value of session.gc_maxlifetime from all your php.ini
# files, or 24 minutes if not defined. See ${maxlifetime}

# Look for and purge old sessions every hour

pgrep -f ".*$0$" | grep -qv $$ && exit 0

renice 19 -p $$ >/dev/null 2>&1

[ -x /usr/lib64/plesk-9.0/maxlifetime ] && [ -d /var/lib/php/session ] && /usr/lib64/plesk-9.0/php_session_cleaner /var/lib/php/session $(/usr/lib64/plesk-9.0/maxlifetime) 2>/dev/null
 
Back
Top