Was did issue resolved? We are running NopCommerce 4.0 and I'm seeing the same issue 100s of records created with null email address and no IP address.
Does anyone find a solution? Our Website is also suddenly creating lots of guest user. With last few days it's created almost 300K users. Due to this our website CPU usage is nearly 100% and the Website become so slow.
After that, I have disabled guest code to create a guest user from WebWorkContext.cs.
if (customer == null || customer.Deleted || !customer.Active || customer.RequireReLogin) { //create guest if not exists // customer = _customerService.InsertGuestCustomer(); }
Then the Website becomes quite stable now. I am not sure what will impact to disable this code.
I have tested the Website after this change. I can still add products in the cart without register user, I closed the browser and open again and still access save cart after opening my Website. Regular register user also place an order with any issue. Can you any help me what will be impact to disable the guest user from WebWorkContext class? I know that's not an ideal solution, but CPU usage is now less than 20% after this change. Note: We have already disabled guest user as an external user to place order very long time back.