# Second publish causes large number of extra upload

**URL:** <https://forums.realmacsoftware.com/t/second-publish-causes-large-number-of-extra-upload/44807>\
**Category:** RapidWeaver Classic\
**Created:** [October 1, 2024, 2:36am UTC](https://forums.realmacsoftware.com/t/second-publish-causes-large-number-of-extra-upload/44807 "2024-10-01T02:36:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![martef86](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@martef86](https://forums.realmacsoftware.com/u/martef86)\
**Post date:** [October 1, 2024, 2:36am UTC](https://forums.realmacsoftware.com/t/second-publish-causes-large-number-of-extra-upload/44807/1 "2024-10-01T02:36:30Z")

</div>

With the current version of Classic v 9.2.1, if I make a small change to a page and publish and then find I need to make a further change, publishing will cause 100’s of other uploads as well. In my case for one site it is over 460 uploads.  
I found that for any subsequent changes, I have to quit RW and open it again to avoid this problem.

---

<div class="post-metadata">

**Author:** ![Bruno](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruno/32/25457_2.png) [@Bruno](https://forums.realmacsoftware.com/u/Bruno)\
**Post date:** [October 1, 2024, 4:29am UTC](https://forums.realmacsoftware.com/t/second-publish-causes-large-number-of-extra-upload/44807/2 "2024-10-01T04:29:17Z")

</div>

Another issue I noticed with RW classic latest version is that after three or four site modification publications, I have to restart RW so that it does not produce the “failed to connect” error in sftp. This is not serious since I only have to restart, that’s why I did not think to report this bug until now. I use an sftp connection with asymmetric authentication keys, FYI.

---

<div class="post-metadata">

**Author:** ![differentdan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/differentdan/32/33530_2.png) [@differentdan](https://forums.realmacsoftware.com/u/differentdan)\
**Post date:** [October 1, 2024, 9:36am UTC](https://forums.realmacsoftware.com/t/second-publish-causes-large-number-of-extra-upload/44807/3 "2024-10-01T09:36:35Z")

</div>

> [@martef86](#):
>
> With the current version of Classic v 9.2.1, if I make a small change to a page and publish and then find I need to make a further change, publishing will cause 100’s of other uploads as well. In my case for one site it is over 460 uploads.

Hey @martef86,

Are you publishing a blog page per chance?

> [@Bruno](#):
>
> Another issue I noticed with RW classic latest version is that after three or four site modification publications, I have to restart RW so that it does not produce the “failed to connect” error in sftp.

Hey @Bruno ,

Strange, I’m using SSH key based auth to my server as well and I never experience this. Once the file has been transferred, the SFTP connection should be closed to allow for additional connections. Is your server spawning zombie SFTP connection processes that aren’t getting closed? I’ve seen that before on some peoples’ servers. If you have SSH access to your server you can use the top or htop command to see all running processes.

---

<div class="post-metadata">

**Author:** ![martef86](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@martef86](https://forums.realmacsoftware.com/u/martef86)\
**Post date:** [October 1, 2024, 9:52am UTC](https://forums.realmacsoftware.com/t/second-publish-causes-large-number-of-extra-upload/44807/4 "2024-10-01T09:52:19Z")

</div>

No, nothing to do with blogs. I can make a simple text change and if I don’t quit first and make another change it will do it. E.g. if I make a change it might upload 2 changes but if I edit the same text again, it will upload over 450 changes.

---

<div class="post-metadata">

**Author:** ![Bruno](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruno/32/25457_2.png) [@Bruno](https://forums.realmacsoftware.com/u/Bruno)\
**Post date:** [October 1, 2024, 9:56am UTC](https://forums.realmacsoftware.com/t/second-publish-causes-large-number-of-extra-upload/44807/5 "2024-10-01T09:56:01Z")

</div>

Hi @differentdan The server does not present any remarkable element but I’m not in publishing session now. During each publication of site RW works well and returns me “idle” at the end of publication. I then close the publication window. It happens that this problem does not occur despite about ten publications but it is rare, most usually it is after the fourth publication that the problem occurs. Just restart RW and it starts again. Really not a problem, it does not bother me in my use. But it is true that it is always good to know why a problem occurs. I will monitor the server during my next session with several publications (probably next weekend) and see if it is a blow of zombies 😱. I will keep you informed. 👍

---

<div class="post-metadata">

**Author:** ![differentdan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/differentdan/32/33530_2.png) [@differentdan](https://forums.realmacsoftware.com/u/differentdan)\
**Post date:** [October 1, 2024, 9:58am UTC](https://forums.realmacsoftware.com/t/second-publish-causes-large-number-of-extra-upload/44807/6 "2024-10-01T09:58:28Z")

</div>

If you’d like to [share your project file](https://forums.realmacsoftware.com/t/how-do-i-share-my-project-file-with-realmac-support-for-troubleshooting/42817) with us I’d like to see if I can reproduce this.

---

<div class="post-metadata">

**Author:** ![martef86](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@martef86](https://forums.realmacsoftware.com/u/martef86)\
**Post date:** [October 2, 2024, 6:44am UTC](https://forums.realmacsoftware.com/t/second-publish-causes-large-number-of-extra-upload/44807/7 "2024-10-02T06:44:40Z")

</div>

I think it is too big and it also accesses many files that are external to the project including several MySQL databases.  
I think what I will attempt to do is to experiment with some other projects and see if they replicate the problem and report back.

---

<div class="post-metadata">

**Author:** ![Bruno](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruno/32/25457_2.png) [@Bruno](https://forums.realmacsoftware.com/u/Bruno)\
**Post date:** [October 5, 2024, 8:51am UTC](https://forums.realmacsoftware.com/t/second-publish-causes-large-number-of-extra-upload/44807/8 "2024-10-05T08:51:27Z")

</div>

Hi @differentdan I’ve just check again, nothing in the server side. Connections are closed correctly. I use a switch (2Gb transmit) between my mac and internet box, could it be the issue origin?
