Title: Multiple unexpected FTP calls?
Last modified: September 1, 2016

---

# Multiple unexpected FTP calls?

 *  [frequencycast](https://wordpress.org/support/users/frequencycast/)
 * (@frequencycast)
 * [10 years ago](https://wordpress.org/support/topic/multiple-unexpected-ftp-calls/)
 * Hi there,
 * Together with our hosting company, we’ve been working to identify a problem potentially
   affecting server performance. By a process of painstaking elimination, it seems
   that All-in-One Event Calendar may have been causing issues with the hosted server.
 * Our host reports that a WP plugin has been connecting to the FTP server thousands
   of times a day. Disabling All-in-One Event Calendar stops this.
 * Can you confirm whether ai1ec initiates any FTP requests, and why it would appear
   that thousands of connections are apparently being made daily, potentially impacting
   server performance?
 * Thanks,
 * Pete
 * [https://wordpress.org/plugins/all-in-one-event-calendar/](https://wordpress.org/plugins/all-in-one-event-calendar/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [10 years ago](https://wordpress.org/support/topic/multiple-unexpected-ftp-calls/#post-7665304)
 * Hi Pete,
 * No, that should not happen, you set the FTP details somewhere in admin panel 
   or?
 *  Thread Starter [frequencycast](https://wordpress.org/support/users/frequencycast/)
 * (@frequencycast)
 * [10 years ago](https://wordpress.org/support/topic/multiple-unexpected-ftp-calls/#post-7665307)
 * Hi Benjamin,
 * Yes, I agree it doesn’t sound right, but working with our host, we disabled each
   plug-in one at a time, and the multiple FTP logins stopped the minute ai1ec was
   disabled
 * FTP login details are held in the WP database, as they’re used to auto update
   plug-ins, and so I don’t have to add FTP credentials every time I add a plug-
   in.
 * Here’s what I received from our host:
 * > I think the WordPress plugin may be causing issues. Any chance you could disable
   > it to see if that fixes the massive number of FTP logins? — later — I’m not
   > sure which one is causing the problems. I know that we have 10,000 FTP logins
   > and it’s logging in several times
   >  a minute:
   > essexham ftpd21632 37.220.88.13 Mon Aug 15 00:36 still logged in
   >  essexham 
   > ftpd21627 37.220.88.13 Mon Aug 15 00:36 – 00:36 (00:00) essexham ftpd21623 
   > 37.220.88.13 Mon Aug 15 00:36 – 00:36 (00:00) essexham ftpd21619 37.220.88.13
   > Mon Aug 15 00:36 – 00:36 (00:00) essexham ftpd21614 37.220.88.13 Mon Aug 15
   > 00:36 – 00:36 (00:00) essexham ftpd21610 37.220.88.13 Mon Aug 15 00:36 – 00:
   > 36 (00:00) essexham ftpd21606 37.220.88.13 Mon Aug 15 00:36 – 00:36 (00:00)
   > essexham ftpd21600 37.220.88.13 Mon Aug 15 00:36 – 00:36 (00:00) essexham ftpd21596
   > 37.220.88.13 Mon Aug 15 00:36 – 00:36 (00:00) essexham ftpd21592 37.220.88.13
   > Mon Aug 15 00:36 – 00:36 (00:00) essexham ftpd21588 37.220.88.13 Mon Aug 15
   > 00:36 – 00:36 (00:00)
 * It’s stopped since the plug-in was disabled, but of course now we have no calendar.
   Anything I can ask our host to help?
 * Pete
 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [10 years ago](https://wordpress.org/support/topic/multiple-unexpected-ftp-calls/#post-7665352)
 * Can you please create an installation for testing on the same server and only
   install our plugin, check if the issue occurs again.
 *  Thread Starter [frequencycast](https://wordpress.org/support/users/frequencycast/)
 * (@frequencycast)
 * [10 years ago](https://wordpress.org/support/topic/multiple-unexpected-ftp-calls/#post-7665401)
 * Sounds sensible. I’ll create a test site and tie up a time with my host’s support
   chap to try this out
 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [10 years ago](https://wordpress.org/support/topic/multiple-unexpected-ftp-calls/#post-7665424)
 * Okay, please let me know how it goes.
 *  Thread Starter [frequencycast](https://wordpress.org/support/users/frequencycast/)
 * (@frequencycast)
 * [10 years ago](https://wordpress.org/support/topic/multiple-unexpected-ftp-calls/#post-7665484)
 * Hi Benjamin,
 * Did as instructed and created a test install here:
 * [http://www.essexham.co.uk/stress/calendar/](http://www.essexham.co.uk/stress/calendar/)
 * Our host reports no abnormal activity on the new test server, but when we re-
   enable ai1ec on our live system, they’re seeing loads of FTP sessions being kicked
   off.
 * I’ve just completed another test on the live site – All plug-ins except ai1ec
   were disabled, and the FTP problem persists.
 * Obvious difference between the live install and our test, is that one is populated
   with 600 calendar entries (and has live ics subscribers), and the test calendar
   has no viewers and only a couple of entries.
 * Any thoughts, or anything else I can try?
 * Thanks,
 * Pete
 *  Thread Starter [frequencycast](https://wordpress.org/support/users/frequencycast/)
 * (@frequencycast)
 * [10 years ago](https://wordpress.org/support/topic/multiple-unexpected-ftp-calls/#post-7665489)
 * Following up on this, we may have tracked down what is going on. The issue seems
   to be related to ai1ec writing to the cache/twig folder. That would explain why
   the unpopulated test server isn’t generating traffic – nothing to cache.
 * My suspicion is that our host isn’t keeping the connection open after each file
   transfer (keep-alive?), so FTP is dropping connection after each file transfer,
   then opening a new session, causing a resource drain.
 * Host asked a fair question – why does cache need to write 10,000 times a day?
   Could it be that if the connection’s dropped, ai1ec starts again and never completes?
 * Is there a way to disable caching to allow us to verify this theory, or anything
   I should ask our host to do to enable ai1ec write to twig in a better way?
 * Question from host: “Are there any other methods that the
    plugin can use to 
   write to a cache – such as redis (in memory cache) or even directly to the disk?”
   All I can see is “Use advanced JS cache”, which seems to have no impact
 * Pete
 *  Thread Starter [frequencycast](https://wordpress.org/support/users/frequencycast/)
 * (@frequencycast)
 * [10 years ago](https://wordpress.org/support/topic/multiple-unexpected-ftp-calls/#post-7665491)
 * Out of curiousity, rolled back to 2.5.5, and it made no difference.
 * ai1ec is set as follows: Disable gzip compression is disabled (already on server).
   Use advanced JS cache is disabled (seems to make no difference to FTP issue)
 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [10 years ago](https://wordpress.org/support/topic/multiple-unexpected-ftp-calls/#post-7665497)
 * Hi Pete,
 * I’ll check with the development team what can be done, in the meantime, do you
   use a cache plugin? If not, please try “W3 Total Cache” plugin, should help.
 *  Thread Starter [frequencycast](https://wordpress.org/support/users/frequencycast/)
 * (@frequencycast)
 * [10 years ago](https://wordpress.org/support/topic/multiple-unexpected-ftp-calls/#post-7665525)
 * We use CometCache, formerly Zencache
 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [10 years ago](https://wordpress.org/support/topic/multiple-unexpected-ftp-calls/#post-7665568)
 * Hi Pete,
 * Please check the permission of these two folders: /wp-content/plugins/all-in-
   one-event-calendar/cache/ and /wp-content/plugins/all-in-one-event-calendar/cache/
   twig, should be to 775(or 777).

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Multiple unexpected FTP calls?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/all-in-one-event-calendar.svg)
 * [Timely All-in-One Events Calendar](https://wordpress.org/plugins/all-in-one-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-event-calendar/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [Benjamin](https://wordpress.org/support/users/bsokic/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/multiple-unexpected-ftp-calls/#post-7665568)
 * Status: not resolved