The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to increase the size of the allotment wrapster SUN Solaris 2 02-18-2008 08:20 PM
increase size jyoti HP-UX 1 04-14-2006 08:08 AM
increase size of /tmp pkappaz UNIX for Dummies Questions & Answers 2 07-02-2003 08:49 AM
how do I increase the character size in the Unix Box subir23 UNIX Desktop for Dummies Questions & Answers 1 11-20-2002 12:46 AM
How to increase the size of the stack jyotipg High Level Programming 7 01-28-2002 07:02 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-07-2006
ray ray is offline
Registered User
 

Join Date: Jun 2006
Posts: 8
how to change \tmpdir directory or increase size of var\tmp?

Hi,

We're stuck after the Unix admin left without prior notice.
We have a web application running on mySQL.
it seems that the \tmpdir for mySQL is mount to
var\tmp directory which has only 60 MB of available disk space
running any big query fails due to the size limitation

I don't have enough information about what applications are running to clean the tmp directory..

I need a quick help until we hire another admin.

Question:

How can i increase the size of the tmp Directory to allow more swapping ?

How can i reconfigure mySQL to another tmp directory?

Any other solution for my problem is highly appreciated.

Thanks

Last edited by ray; 06-07-2006 at 02:38 AM.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-07-2006
tayyabq8's Avatar
UNIX Hobbyist
 

Join Date: Nov 2004
Location: /World/Asia/MiddleEast/Kuwait/Salmiya
Posts: 533
Try symbolic link

Check this thread Symbolic Link and try to search these forums with the keyword symbolic link.
Reply With Quote
  #3 (permalink)  
Old 06-07-2006
ray ray is offline
Registered User
 

Join Date: Jun 2006
Posts: 8
This can be little bit complicated for a non unix user.

I am worried that i might screw up anything on the server, can u be detailed of steps to be taken..

I appreciate your help
Reply With Quote
  #4 (permalink)  
Old 06-07-2006
tayyabq8's Avatar
UNIX Hobbyist
 

Join Date: Nov 2004
Location: /World/Asia/MiddleEast/Kuwait/Salmiya
Posts: 533
Ok, can you post here output of command:
Code:
df -v
dont forget to wrap your output with CODE tags.
Reply With Quote
  #5 (permalink)  
Old 06-07-2006
ray ray is offline
Registered User
 

Join Date: Jun 2006
Posts: 8
From my understanding after i read about symbolic links that it is used to link a file to another file in a directory

the issue that mySQL doesn't have a specific file, it just uses var\tmp to create temporarily file when it executes queries then deletes them...

So my problem mainly is in the size of the var\tmp directory itself..not in a specific file.

Can it be solved with softlinks ?
Reply With Quote
  #6 (permalink)  
Old 06-07-2006
tayyabq8's Avatar
UNIX Hobbyist
 

Join Date: Nov 2004
Location: /World/Asia/MiddleEast/Kuwait/Salmiya
Posts: 533
Yeah, we can acheive solution for you thru symlinks, just post the output of
Code:
df -v
Reply With Quote
  #7 (permalink)  
Old 06-07-2006
ray ray is offline
Registered User
 

Join Date: Jun 2006
Posts: 8
The system is FreeBsd

Filesystem 512-blocks Used Avail Capacity Mounted on
/dev/ad4s1d 507356 327368 139400 70% /var
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:16 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0