{"id":191,"date":"2016-05-10T20:56:11","date_gmt":"2016-05-10T20:56:11","guid":{"rendered":"https:\/\/bdwebit.com\/blog\/?p=191"},"modified":"2026-02-17T16:51:45","modified_gmt":"2026-02-17T10:51:45","slug":"how-to-increase-tmp-size-and-secure","status":"publish","type":"post","link":"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/","title":{"rendered":"How to increase \/tmp size and secure?"},"content":{"rendered":"<p>Increasing the \/tmp size and securing it is essential for maintaining a stable and secure Linux or cPanel server. To increase \/tmp size, you typically resize the partition (if it\u2019s on a separate mount) or recreate it as a loopback file with a larger size; to secure it, you mount it with proper options such as noexec, nosuid, and nodev to prevent malicious scripts from executing. Now, let\u2019s explore in detail how to safely increase \/tmp size and secure it properly on a production server.<\/p>\n<h2>Why \/tmp Size Matters<\/h2>\n<p>On shared hosting or high-traffic servers, \/tmp fills up quickly due to:<\/p>\n<ul>\n<li>PHP session files<\/li>\n<li>MySQL temporary tables<\/li>\n<li>Apache temporary cache<\/li>\n<li>Email processing<\/li>\n<li>Backup scripts<\/li>\n<\/ul>\n<p>By default, many servers allocate only 512MB to 1GB for \/tmp. For modern websites, this is often not enough.<\/p>\n<p>Recommended sizes:<\/p>\n<ul>\n<li>Small server: 1GB<\/li>\n<li>Medium server: 2\u20134GB<\/li>\n<li>High-traffic server: 4GB+<\/li>\n<\/ul>\n<h2>How to Check Current \/tmp Size<\/h2>\n<p>Run:<\/p>\n<pre><strong>Bash<\/strong>\r\ndf -h \/tmp<\/pre>\n<p>This shows current usage and available space.<\/p>\n<p>To see mount options:<\/p>\n<pre><strong>Bash<\/strong>\r\nmount | grep \/tmp<\/pre>\n<p>This helps determine whether \/tmp is already secured.<\/p>\n<h2>How to increase \/tmp size and secure? Complete Guide<\/h2>\n<h3>Method 1: Increase \/tmp Size (Loopback File \u2013 cPanel Servers)<\/h3>\n<p>Most cPanel servers use a loopback file for \/tmp. This is the safest and easiest method.<\/p>\n<p><strong>Step 1: Check if \/tmp is Loop Mounted<\/strong><\/p>\n<pre><strong>Bash<\/strong>\r\nmount | grep tmp<\/pre>\n<p>If you see something like:<\/p>\n<pre><strong>Bash<\/strong>\r\n\/usr\/tmpDSK on \/tmp type ext4 (rw,nosuid,nodev,noexec)<\/pre>\n<p>Then your \/tmp is using a loop file.<\/p>\n<p><strong>Step 2: Resize \/tmp in cPanel<\/strong><\/p>\n<p>cPanel provides a script to secure and resize \/tmp.<\/p>\n<p>Run:<\/p>\n<pre><strong>Bash<\/strong>\r\n\/scripts\/securetmp<\/pre>\n<p>If you want to manually recreate it with a larger size:<\/p>\n<p><strong>Unmount Existing \/tmp<\/strong><\/p>\n<pre><strong>Bash<\/strong>\r\numount \/tmp<\/pre>\n<p><strong>Remove Old File<\/strong><\/p>\n<pre><strong>Bash<\/strong>\r\nrm -f \/usr\/tmpDSK<\/pre>\n<p><strong>Create New Larger File (Example 4GB)<\/strong><\/p>\n<pre><strong>Bash<\/strong>\r\ndd if=\/dev\/zero of=\/usr\/tmpDSK bs=1024 count=4194304<\/pre>\n<p><strong>Format It<\/strong><\/p>\n<pre><strong>Bash<\/strong>\r\nmkfs.ext4 \/usr\/tmpDSK<\/pre>\n<p><strong>Mount It<\/strong><\/p>\n<pre><strong>Bash<\/strong>\r\nmount -o loop,noexec,nosuid,nodev \/usr\/tmpDSK \/tmp<\/pre>\n<p><strong>Set Proper Permissions<\/strong><\/p>\n<pre><strong>Bash<\/strong>\r\nchmod 1777 \/tmp<\/pre>\n<p>The permission 1777 ensures all users can write, but cannot delete each other\u2019s files.<\/p>\n<h3>Method 2: Resize LVM Partition (Advanced Servers)<\/h3>\n<p>If \/tmp is a separate LVM partition:<\/p>\n<p><strong>Step 1: Check LVM<\/strong><\/p>\n<pre><strong>Bash<\/strong>\r\nlvdisplay<\/pre>\n<p><strong>Step 2: Extend Logical Volume<\/strong><\/p>\n<p>Example:<\/p>\n<pre><strong>Bash<\/strong>\r\nlvextend -L +2G \/dev\/mapper\/vgname-tmp<\/pre>\n<p><strong>Step 3: Resize Filesystem<\/strong><\/p>\n<p>For ext4:<\/p>\n<pre><strong>Bash<\/strong>\r\nresize2fs \/dev\/mapper\/vgname-tmp<\/pre>\n<p>This safely increases \/tmp without downtime in most cases.<\/p>\n<h3>How to Secure \/tmp Properly<\/h3>\n<p>Security is more important than size.<\/p>\n<p>If \/tmp is not secured, attackers can:<\/p>\n<ul>\n<li>Upload shell scripts<\/li>\n<li>Execute malicious binaries<\/li>\n<li>Run privilege escalation exploits<\/li>\n<\/ul>\n<p>To prevent this, mount \/tmp with secure options.<\/p>\n<h3>Required Mount Options<\/h3>\n<p>Edit \/etc\/fstab and ensure \/tmp includes:<\/p>\n<pre><strong>Code<\/strong>\r\nnoexec,nosuid,nodev<\/pre>\n<p><strong>What These Do:<\/strong><\/p>\n<ul>\n<li><strong>noexec<\/strong> \u2192 Prevents execution of binaries<\/li>\n<li><strong>nosuid<\/strong> \u2192 Prevents setuid binaries<\/li>\n<li><strong>nodev<\/strong> \u2192 Prevents device files<\/li>\n<\/ul>\n<p>Example entry:<\/p>\n<pre><strong>Code<\/strong>\r\n\/usr\/tmpDSK \/tmp ext4 loop,noexec,nosuid,nodev,rw 0 0<\/pre>\n<p>After editing:<\/p>\n<pre><strong>Code<\/strong>\r\nmount -o remount \/tmp<\/pre>\n<h3>Verify Security Settings<\/h3>\n<p>Run:<\/p>\n<pre><strong>Bash<\/strong>\r\nmount | grep \/tmp<\/pre>\n<p>You should see:<\/p>\n<pre><strong>Code<\/strong>\r\nnoexec,nosuid,nodev<\/pre>\n<p>If not, your \/tmp is not secure.<\/p>\n<h3>Additional Security Best Practices<\/h3>\n<p><strong>1. Secure \/var\/tmp<\/strong><\/p>\n<p>Many attackers bypass protection by using \/var\/tmp.<\/p>\n<p>Make \/var\/tmp a symlink to \/tmp:<\/p>\n<pre><strong>Bash<\/strong>\r\nrm -rf \/var\/tmp\r\nln -s \/tmp \/var\/tmp<\/pre>\n<p><strong>2. Secure \/dev\/shm<\/strong><\/p>\n<p>Add similar mount options:<\/p>\n<p>Edit \/etc\/fstab:<\/p>\n<pre><strong>Code<\/strong>\r\ntmpfs \/dev\/shm tmpfs defaults,noexec,nosuid,nodev 0 0<\/pre>\n<p>Then:<\/p>\n<pre><strong>Bash<\/strong>\r\nmount -o remount \/dev\/shm<\/pre>\n<p><strong>3. Monitor \/tmp Usage<\/strong><\/p>\n<p>Install monitoring tools:<\/p>\n<pre><strong>Bash<\/strong>\r\nwatch df -h<\/pre>\n<p>Or configure alerts in WHM:<\/p>\n<p>WHM \u2192 Server Configuration \u2192 Tweak Settings<\/p>\n<h3>Common Issues After Securing \/tmp<\/h3>\n<p>Sometimes, enabling noexec breaks certain applications.<\/p>\n<p>For example:<\/p>\n<ul>\n<li>Some older PHP uploaders<\/li>\n<li>Custom Java applications<\/li>\n<li>Certain backup tools<\/li>\n<\/ul>\n<p><strong>Temporary Fix (If Needed)<\/strong><\/p>\n<p>If an application requires execution:<\/p>\n<pre><strong>Bash<\/strong>\r\nmount -o remount,exec \/tmp<\/pre>\n<p>Only do this temporarily.<\/p>\n<p>Better solution: Reconfigure the application to use another directory.<\/p>\n<h3>Best Recommended Configuration for Production<\/h3>\n<p>For <a href=\"https:\/\/bdwebit.com\/hosting-server\">high-security hosting servers<\/a>:<\/p>\n<ul>\n<li>Separate \/tmp partition<\/li>\n<li>2\u20134GB minimum<\/li>\n<li>Mounted with noexec,nosuid,nodev<\/li>\n<li>\/var\/tmp symlinked<\/li>\n<li>\/dev\/shm secured<\/li>\n<li>Disk monitoring enabled<\/li>\n<\/ul>\n<h3>Signs Your \/tmp Needs Immediate Attention<\/h3>\n<ul>\n<li>Frequent \u201cNo space left on device\u201d errors<\/li>\n<li>MySQL crashing during large queries<\/li>\n<li>PHP session warnings<\/li>\n<li>Suspicious files in \/tmp<\/li>\n<li>Malware detected by Imunify or ClamAV<\/li>\n<\/ul>\n<h3>Automating \/tmp Cleanup<\/h3>\n<p>Use cron to clean old temporary files:<\/p>\n<p>Example:<\/p>\n<pre><strong>Bash<\/strong>\r\nfind \/tmp -type f -mtime +7 -delete<\/pre>\n<p>This removes files older than 7 days.<\/p>\n<p>Be cautious \u2014 some applications rely on persistent temp files.<\/p>\n<h3>Final Thoughts<\/h3>\n<p>Increase and secure \/tmp size is one of the most important server optimization and hardening steps. A properly sized \/tmp prevents application crashes and database failures, while secure mount options protect your server from script-based attacks and privilege escalation attempts.<\/p>\n<p>If you manage a cPanel server, always use \/scripts\/securetmp and verify mount options. For advanced Linux systems, consider LVM resizing and enforce strict mount flags.<\/p>\n<p>A well-configured \/tmp means:<\/p>\n<ul>\n<li>Better server stability<\/li>\n<li>Improved performance<\/li>\n<li>Stronger security posture<\/li>\n<li>Fewer support tickets<\/li>\n<li>Safer hosting environment<\/li>\n<\/ul>\n<p>Taking 15\u201330 minutes to properly configure \/tmp can prevent hours of downtime and security incidents later.<\/p>\n<p>If you&#8217;re running a production server, review your \/tmp configuration today \u2014 don\u2019t wait until it becomes a problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Increasing the \/tmp size and securing it is essential for maintaining a stable and secure Linux or cPanel server. To increase \/tmp size, you typically resize the partition (if it\u2019s on a separate mount) or recreate it as a loopback file with a larger size; to secure it, you mount it with proper options such &#8230; <a title=\"How to increase \/tmp size and secure?\" class=\"read-more\" href=\"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/\" aria-label=\"Read more about How to increase \/tmp size and secure?\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":4076,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-191","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Increase \/tmp Size and Secure?<\/title>\n<meta name=\"description\" content=\"Now, let\u2019s explore in detail how to safely increase \/tmp size and secure it properly on a production server.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Increase \/tmp Size and Secure?\" \/>\n<meta property=\"og:description\" content=\"Now, let\u2019s explore in detail how to safely increase \/tmp size and secure it properly on a production server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/\" \/>\n<meta property=\"og:site_name\" content=\"BDWEBIT Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-05-10T20:56:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-17T10:51:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2016\/05\/How-to-Increase-tmp-Size-and-Secure.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Abraham M.\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abraham M.\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/how-to-increase-tmp-size-and-secure\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/how-to-increase-tmp-size-and-secure\\\/\"},\"author\":{\"name\":\"Abraham M.\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#\\\/schema\\\/person\\\/b2625f2366684a57abaee622470db4be\"},\"headline\":\"How to increase \\\/tmp size and secure?\",\"datePublished\":\"2016-05-10T20:56:11+00:00\",\"dateModified\":\"2026-02-17T10:51:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/how-to-increase-tmp-size-and-secure\\\/\"},\"wordCount\":706,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/how-to-increase-tmp-size-and-secure\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/05\\\/How-to-Increase-tmp-Size-and-Secure.jpg\",\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bdwebit.com\\\/blog\\\/how-to-increase-tmp-size-and-secure\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/how-to-increase-tmp-size-and-secure\\\/\",\"url\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/how-to-increase-tmp-size-and-secure\\\/\",\"name\":\"How to Increase \\\/tmp Size and Secure?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/how-to-increase-tmp-size-and-secure\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/how-to-increase-tmp-size-and-secure\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/05\\\/How-to-Increase-tmp-Size-and-Secure.jpg\",\"datePublished\":\"2016-05-10T20:56:11+00:00\",\"dateModified\":\"2026-02-17T10:51:45+00:00\",\"description\":\"Now, let\u2019s explore in detail how to safely increase \\\/tmp size and secure it properly on a production server.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/how-to-increase-tmp-size-and-secure\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bdwebit.com\\\/blog\\\/how-to-increase-tmp-size-and-secure\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/how-to-increase-tmp-size-and-secure\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/05\\\/How-to-Increase-tmp-Size-and-Secure.jpg\",\"contentUrl\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/05\\\/How-to-Increase-tmp-Size-and-Secure.jpg\",\"width\":1200,\"height\":628,\"caption\":\"How to Increase \\\/tmp Size and Secure\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/how-to-increase-tmp-size-and-secure\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to increase \\\/tmp size and secure?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/\",\"name\":\"BDWEBIT Blog\",\"description\":\"Innovation and Excellence in IT\",\"publisher\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#organization\",\"name\":\"BDWEB IT\",\"url\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/logo.png\",\"width\":300,\"height\":80,\"caption\":\"BDWEB IT\"},\"image\":{\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/#\\\/schema\\\/person\\\/b2625f2366684a57abaee622470db4be\",\"name\":\"Abraham M.\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/cc1ad22b0cb49820831cd9977a782f98.jpg?ver=1783936928\",\"url\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/cc1ad22b0cb49820831cd9977a782f98.jpg?ver=1783936928\",\"contentUrl\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/cc1ad22b0cb49820831cd9977a782f98.jpg?ver=1783936928\",\"caption\":\"Abraham M.\"},\"sameAs\":[\"https:\\\/\\\/www.bdwebit.com\"],\"url\":\"https:\\\/\\\/bdwebit.com\\\/blog\\\/author\\\/bdwebit\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Increase \/tmp Size and Secure?","description":"Now, let\u2019s explore in detail how to safely increase \/tmp size and secure it properly on a production server.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/","og_locale":"en_US","og_type":"article","og_title":"How to Increase \/tmp Size and Secure?","og_description":"Now, let\u2019s explore in detail how to safely increase \/tmp size and secure it properly on a production server.","og_url":"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/","og_site_name":"BDWEBIT Blog","article_published_time":"2016-05-10T20:56:11+00:00","article_modified_time":"2026-02-17T10:51:45+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2016\/05\/How-to-Increase-tmp-Size-and-Secure.jpg","type":"image\/jpeg"}],"author":"Abraham M.","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abraham M.","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/#article","isPartOf":{"@id":"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/"},"author":{"name":"Abraham M.","@id":"https:\/\/bdwebit.com\/blog\/#\/schema\/person\/b2625f2366684a57abaee622470db4be"},"headline":"How to increase \/tmp size and secure?","datePublished":"2016-05-10T20:56:11+00:00","dateModified":"2026-02-17T10:51:45+00:00","mainEntityOfPage":{"@id":"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/"},"wordCount":706,"commentCount":0,"publisher":{"@id":"https:\/\/bdwebit.com\/blog\/#organization"},"image":{"@id":"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/#primaryimage"},"thumbnailUrl":"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2016\/05\/How-to-Increase-tmp-Size-and-Secure.jpg","articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/","url":"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/","name":"How to Increase \/tmp Size and Secure?","isPartOf":{"@id":"https:\/\/bdwebit.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/#primaryimage"},"image":{"@id":"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/#primaryimage"},"thumbnailUrl":"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2016\/05\/How-to-Increase-tmp-Size-and-Secure.jpg","datePublished":"2016-05-10T20:56:11+00:00","dateModified":"2026-02-17T10:51:45+00:00","description":"Now, let\u2019s explore in detail how to safely increase \/tmp size and secure it properly on a production server.","breadcrumb":{"@id":"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/#primaryimage","url":"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2016\/05\/How-to-Increase-tmp-Size-and-Secure.jpg","contentUrl":"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2016\/05\/How-to-Increase-tmp-Size-and-Secure.jpg","width":1200,"height":628,"caption":"How to Increase \/tmp Size and Secure"},{"@type":"BreadcrumbList","@id":"https:\/\/bdwebit.com\/blog\/how-to-increase-tmp-size-and-secure\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bdwebit.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to increase \/tmp size and secure?"}]},{"@type":"WebSite","@id":"https:\/\/bdwebit.com\/blog\/#website","url":"https:\/\/bdwebit.com\/blog\/","name":"BDWEBIT Blog","description":"Innovation and Excellence in IT","publisher":{"@id":"https:\/\/bdwebit.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bdwebit.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/bdwebit.com\/blog\/#organization","name":"BDWEB IT","url":"https:\/\/bdwebit.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bdwebit.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2019\/08\/logo.png","contentUrl":"https:\/\/bdwebit.com\/blog\/wp-content\/uploads\/2019\/08\/logo.png","width":300,"height":80,"caption":"BDWEB IT"},"image":{"@id":"https:\/\/bdwebit.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/bdwebit.com\/blog\/#\/schema\/person\/b2625f2366684a57abaee622470db4be","name":"Abraham M.","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bdwebit.com\/blog\/wp-content\/litespeed\/avatar\/cc1ad22b0cb49820831cd9977a782f98.jpg?ver=1783936928","url":"https:\/\/bdwebit.com\/blog\/wp-content\/litespeed\/avatar\/cc1ad22b0cb49820831cd9977a782f98.jpg?ver=1783936928","contentUrl":"https:\/\/bdwebit.com\/blog\/wp-content\/litespeed\/avatar\/cc1ad22b0cb49820831cd9977a782f98.jpg?ver=1783936928","caption":"Abraham M."},"sameAs":["https:\/\/www.bdwebit.com"],"url":"https:\/\/bdwebit.com\/blog\/author\/bdwebit\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/posts\/191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/comments?post=191"}],"version-history":[{"count":2,"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/posts\/191\/revisions"}],"predecessor-version":[{"id":4077,"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/posts\/191\/revisions\/4077"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/media\/4076"}],"wp:attachment":[{"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/media?parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/categories?post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bdwebit.com\/blog\/wp-json\/wp\/v2\/tags?post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}