[resolved] Long posts getting truncated after submitting (4 posts)

  1. jayroh
    Posted 5 years ago #

    Hi everyone!

    This is a weird one. A highly trafficked blog I help with is starting to see posts with a lot of content getting truncated / cut off. It seems to be in the 10,000+ character range that this is most accurately reproduced. In the meantime I've suggested splitting really long posts into two separate ones - but it's not ideal, and has never been an issue before.

    The environment right now is an nginx+lamp stack. The version of nginx we're using is 0.7.64. The reason I mention this is because of something I saw here.

    Has anyone else run into this? The problem/symptom is that the last 2 or 3 lines of text in the post gets chopped off / truncated after every update. When the posts is split to about half its size the problem no longer occurs.

    Hopefully someone can help! Thanks!

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Are you running any caching plugins? If not, it might be worth trying one of them out.

  3. jayroh
    Posted 5 years ago #

    @esmi - oh definitely. There's a caching plugin installed but that's not the problem. The post gets truncated immediately after clicking update - not on the visitor side, but in the actual wordpress dashboard.

    1 Click update.
    2 Content posts to wp-admin
    3 Saves to DB
    4 Redirects back to the page that edits that post

    the post is truncated in the text-area where you edit it.

  4. jayroh
    Posted 5 years ago #

    It's nginx.

    Hit a super-long post via apache's port directly. Hit update. No truncation.

    Hit the same super-long post via nginx's port. Hit update. Truncated.

    So I don't know if this is something someone on the wordpress team wants to investigate or not? Long posts (~14kb) posted through nginx->apache will do it.

Topic Closed

This topic has been closed to new replies.

About this Topic