I met rather unusual problem setting up magento-1.9 (Community) on VPN server.
All files that write by Magento system are empty. It is including session files
at var/session
(currently I find way around by storing session to database), and catalog product cache images at media/catalog/product/cache
etc.
All image files in catalog/product
(that created when products were created) are exist, and non-empty. But cache re-sized images are all empty.
Permissions on all media and var folders have 777
permissions. Can you help me to diagnose and fix it?