Hi TypeTechs!
I have an issue with one particular view. I've got four views set up that displays the most recent posts for each of my custom post types. The views are all set up in the same manner. They are for:
1. DivaSources
2. EcoSources
3. ResourceLinks
4. CollectibleDealers.
Previously the views worked for all four custom post types, but I recently discovered that the view for the Collectible Dealers was sending my server into overload, ending in a 504 error. The only way to get out of it was to reboot the server.
I've made some changes over the past two weeks.
1. I added 20,000 plus posts to the Collectible Dealers (previously it was testing with 160 posts)
2. Added posts to the other three custom post types, but the largest amount is 1100 to the Resource Links.
3. I have a dedicated server, and in order to speed up the mysql, I added a third SSD drive that only handles the mysql, with the existing HD and Raid drive dedicated to the front end of the site.
I checked and rechecked the view, even deleted it and recreated a new one…but the issue persists. It's odd, because I have other views that are handling 15,000 plus records, and they work like a charm. Can you help me with this?
Here are the settings I am using in the view:
Display=posts
Ordered by post date=descending
limit and offset=10 skip first=none
Query=Select posts with status of publish
Pagination enabled with manual transition
Number of items per page 1
Fade with 1 millescond
Cache Pages
Preload 5
No spinner
Filter:
[wpv-filter-start hide="false"]
[wpv-filter-controls]<div align="center"> [wpv-pager-prev-page][wpml-string context="wpv-views"] <span style="color: #ff0000; font-size: 12px;"> ◄ Previous </span> [/wpml-string][/wpv-pager-prev-page][wpv-pager-next-page][wpml-string context="wpv-views"]<span style="color: #ff0000; font-size: 12px; padding-left: 50px;"> Next ► </span> [/wpml-string][/wpv-pager-next-page]</div>[/wpv-filter-controls]
[wpv-filter-end]
Layout:
[wpv-layout-start]
<!– wpv-loop-start –>
<wpv-loop>
[wpv-post-body view_template="Featured Slider"]
</wpv-loop>
<!– wpv-loop-end –>
[wpv-no-posts-found][wpml-string context="wpv-views"]<strong>No posts found</strong>[/wpml-string][/wpv-no-posts-found]
[wpv-layout-end]
Regards,
Will