Forum Replies Created
- AuthorPosts
- alexdeziParticipant
Thank you!
I did that now and it gives me this result: https://prnt.sc/rsxdr1
I inserted the code snippet about 15 minutes after 14.00 opened 40 tabs where I am logged in and left it running until now. You can see that in the past hour, with just the tabs open and not doing anything else at all, it increased.
Do you have another code snippet?
Or can you point me to the part in the code where these requests are initiated?Thank you!
alexdeziParticipantI’m afraid I was in touch with my host about this very much already. They are telling me, that the setup is making excessive admin-ajax.php requests which is bringing it down. Siteground limits the available CPU seconds. WCFM makes requests every six seconds in order to see if there are new notifications. So imagine you have 30 vendors online at the same time – each of them having 1 or 2 tabs open – and EVERY tab is making these requests – the site will go down. I know you can disable these notifications, and I have already done that. But these requests are still being made. I want shop owners only to get notifications via e-mail. I want the frontend manager, once the site is loaded, doesn’t make ANY requests to the server (or maybe 1 every 1 or 2 minutes, but not every 6 seconds).
I also asked Siteground if an upgrade to VPS will resolve the issue – the answer was: For that amount of requests probably not. And I see on facebook groups other people with the same issue, it’s not only my sites.
So please, give me a plain answer to: Can you disable (or manually delay the timespan to 1 minute or 2) these requests? If yes, please tell me how. If not, please just say so.
Thank you!
alexdeziParticipantHi!
Do you think this can be resolved? Will it be in an update or a code snippet? Ideally the plugin doesn’t make requests for new notifications if all the push-notifications are set off – once the site is loaded, just no new requests.
Another question – is it possible to import shops from WC Marketplace just in case? I have 3 stores in the works and I would really need to get them started and it seems this is not an issue that can be resolved easily.Thank you!
April 3, 2020 at 6:49 am in reply to: Bug: Map on Vendors Listing Page not working when sidebar is customized #114951alexdeziParticipantThis reply has been marked as private.alexdeziParticipantI have tried with different themes and on a new install, just with WCFM and Woocommerce installed. I tried with Flatsome theme, Astra and also Default WordPress theme. Always the same issue…
alexdeziParticipantThis reply has been marked as private.alexdeziParticipantYes, I was in touch with the server host. The site is hosted on Siteground GoGeek – the highest plan for shared hosting. I asked if an upgrade to VPS would solve the issue, they said for that amount of requests that’s probably not the solution. I just open a few tabs – leave them idle, I don’t do anything at all on any of the sites and leave them open and the server usage increases like crazy. I have done that over night, where none of the sites are accessed and it only happens if the frontend plugin is activated. This is also on a fresh new install – default theme, no other plugins, just WCFM, Woocommerce and Limit Heartbeat – it’s every time the same issue.
alexdeziParticipantLOL, yeah, the it has been more like waiting for 2 weeks 🙂 good luck with your project!
alexdeziParticipantYes, and imagine some of these vendors are like me and open a few tabs at once, leave them open for days, or just open their laptops and each and every tab is draining your server – without the site refreshing or anything.
I have only seen small stores with WCFM, so my guess is, that’s fine for that, especially if the vendors aren’t online all the time. But I really need something where a tab once loaded doesn’t consume constant resources, very simple. It doesn’t make sense to me why you would ruin an otherwise great product this way. They say the requests can’t overload the server, but it’s a fact that once the frontend plugin is activated the problem comes up (admin-ajax requests or not, but it’s the plugin anyway).
I had a developer looking over this, he couldn’t determine what is causing the overload. He told me to rename the admin-ajax.php file and see what will happen.
Well, I did just this the past hour and this is the result: https://prnt.sc/rr653d (same issue, plugin is unusable).WC Lovers doesn’t seem to have a solution to this, nor they seem to care much. So that means for me tomorrow I am going to work on the switch. @nacho have you another preference? I have tested Product Vendors and WC Marketplace today, so far I liked WC Marketplace best.
alexdeziParticipantI have tried on a fresh new install, just woocommerce, wcfm plugins and limit heartbeat installed – the issue is with the frontend dashboard, if that is deactivated it’s all normal, once activated it goes through the roof.
On the same install I activated WC Marketplace, that worked just fine. It seems like the issue cannot be resolved, so I guess the only thing to do is just rebuilt the whole site.
alexdeziParticipantI disabled wp-cron as well and set up a real cron job twice a day. I tried to disable the heartbeat completely – issue is the same. I tried to deactivate ALL plugins except Woocommerce, the 3 WCFM plugins and Limit heartbeat to disable the heartbeat – it’s all the same.
I see WCFM is not tested with the new Woocommerce version – maybe that’s a reason?
One question: Why do you think Updraft Plugin could be causing this?
@wcfmforum can you please update us on this if there is any intention to address this issue?
alexdeziParticipantI had the same issue. It helped to delete the cache of the browser. But it happened again, looks like it’s a real issue. But try to delete the cache of the browser.
alexdeziParticipantcan you have a look at this issue? https://wclovers.com/forums/topic/plugin-overloads-server-cpu-max-out/
This unfortunately makes the plugin unusuable for some users.
Thank you!
alexdeziParticipantyes, i have done that. no success.
alexdeziParticipantYeah, that sucks, I am in the same situation – have it all set up and happy until I realized it cannot be used. I would upgrade to ultimate as well, and I definitely will, if I get this thing to run. But I highly doubt it will fix it – maybe make it worse with more options.
Everyday I am on the fence of jumping boat, but then decide to just give them more time to look into this with the hope they will.
At this point I am just waiting for any kind of clear answer. If it’s a “no, sorry guys, can’t do that” at least we know. But no answer is a bit frustrating.
alexdeziParticipantI see this forum very active here and the developers very helpful, but this issue is not being addressed and there is no response at all on this.
Have a look at this and guess when WCFM was opened (I am not talking about actually working on it, just some admin tabs being idle): https://prnt.sc/rq1irh
10 minutes before 11am I started the computer, some tabs where open and you see how high it climbed within that hour. It makes it practically unusuable, my websites would get blocked and me kicked off the server.My host told me it’s due to the high number of admin-ajax.php requests (every 6 seconds with WCFM to see if there are new messages) – https://prnt.sc/rprhlo.
When I asked them if a VPS would solve this issue their response was and I quote: “It is quite possible that your server VPS server to reach high load due to these requests.”I believe it would be solved by eliminating these requests if all push-notifications are turned off. I have updates set only via e-mail, so admin and vendor only gets the updates via e-mail and not life notifications. Or give the option to delay the requests and make them every minute (I even think 5 minutes are ok). I just don’t see it sustainable if idle tabs are making that many requests – even I just playing around went beyond server limit (it’s shared hosting yes, but it’s not the worst).
I am playing around WC Marketplace for now and I don’t have that issue with that plugin. So that might be an option.
For now I only hope they are willing to share a code snippet to stop the requests. It would be a shame if the plugin is unusuable “just” because of this. But I am in the same boat as you @nacho: I need to hear that this issue will be solved otherwise I need to unfortunately look elsewhere.
alexdeziParticipantYes, it’s all updated. I noticed when I delete the cache, it works, but it did happen again… Not sure if it’s a constant problem, for now it’s ok.
Can you please come back to me regarding the server resources the plugin consumes? That is a really issue for me. Thanks a lot!
alexdeziParticipantThanks for the reply! Yes, that really sucks… The plugin looks really good but at this point I am thinking of going with a different one. It would make things so much better if it were possible to limit those server requests, I don’t need to get instant notifactions via the browser for new messages and stuff like that…
March 25, 2020 at 10:10 pm in reply to: Bug: Map on Vendors Listing Page not working when sidebar is customized #113177alexdeziParticipantI also noted another issue: On mobile on the page, where all vendors are shown, the location pins are there, however, when I click on any one, the latest added vendor is always shown. I deactivated the map for now..
alexdeziParticipantThis is a great option!
March 22, 2020 at 12:50 am in reply to: Order collection of customer not shown when free shipment is available #112583alexdeziParticipantThis is all done via shipping zones by the way…
- AuthorPosts