Notifications
Clear all

sess_ creation

3 Posts
2 Users
0 Likes
1,799 Views
(@cloudduster)
Active Member
Joined: 5 years ago
Posts: 5
Topic starter  

First off, I’m just an ordinary WP blogger and know nothing about php.

Two days ago, my site got 503 and my host told me that I’m hitting my inodes limit. Apparently, my blog created a lot of sess_ files, thousands of them over the course of many months.

Now, when I open one of these sess_ files, I see this in the beginning of the file

wpdiscuz_users|a:3:{s:37:"0_5c08b653f0e24@example.com_Anonymous";a:8:{s:4:"user";b:0;s:16:"commentAuthorUrl";s:0:"";s:10:"authorName";s:9:"Anonymous";s:10:"profileUrl";s:0:"";s:11:"authorClass";s:13:"wc-blog-guest";s:12:"author_title";s:5:"Guest";s:12:"gravatarArgs";a:5:{s:23:"wpdiscuz_gravatar_field";s:25:"5c08b653f0e24@example.com";s:22:"wpdiscuz_gravatar_size";i:64;s:25:"wpdiscuz_gravatar_user_id";i:0;s:28:"wpdiscuz_gravatar_user_email";s:25:"5c08b653f0e24@example.com";s:21:"wpdiscuz_current_user";b:0;}s:6:"avatar";s:209:"<img src="https://www.webbline.com/wp-content/uploads/2018/11/Blank_avatar-186x186.jpeg" width="64" height="64" alt="Anonymous" class="avatar avatar-64 wp-user-avatar wp-user-avatar-64 photo avatar-default"

Every single one of them. Does this plugin creates these files? Are they suppose to stay forever or deleted after use?

Thanks.

This topic was modified 5 years ago by cloudduster

   
Quote
Arina
(@arina)
Support Team
Joined: 10 years ago
Posts: 101
 

Hi @cloudduster,

Please follow these steps:

  1. Download the folder.zip 
  2. Copy the file class.WpdiscuzWalker.php  file from this folder 
  3. Replace the class.WpdiscuzWalker.php file in /wp-content/plugins/wpdiscuz/templates/comment folder with a file from folder.zip.

wpDiscuz uses these PHP sessions in a case to ensure high speed. This is just a temporary solution. In the next version release, we'll make this optional, so that you'll be able to choose either use the PHP sessions or not.


   
ReplyQuote
(@cloudduster)
Active Member
Joined: 5 years ago
Posts: 5
Topic starter  

File uploaded.

Thanks for your help.


   
ReplyQuote
Share:
Scroll to top