Solved

FTp issue in solaris10

Posted on 2008-10-10
6
410 Views
Last Modified: 2013-12-27
Hi gents,

Am using solaris 10 and my issue is ftp failing as bellow..

ftp home located int to / file system.
Eample: / created in 7 G file system.

once / reaches to 90 % 800M space available on root.. still we unable to do ftp even 30 M file..

is there any seetings/config changes neded?

Regards,
Saran
0
Comment
Question by:Saranyakkali
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 13

Expert Comment

by:Rowley
ID: 22686468
How much space have you allocated for minfree? post the output of df -h and fstyp -v /path/to/root/block/diskdevice.
0
 
LVL 22

Expert Comment

by:blu
ID: 22686581
As Rowley was leading to, there is a parameter on UFS file systems called "minfree" which defaults to 10%. Once this threshold is reached, it is as if the file system was full for users other than root. This is done for two reasons. One is to ensure that root has enough space to allow root to log in and take remedial action. The other is that UFS performance degrades rapidly as it has less free space to work with.

However, with modern large disks, this can result in massive amounts of wasted space. You can use the tunefs command to change the minfree setting on the fly. Luckily minfree happens to be a FS parameter that is easily changed. See the man page for tunefs for details, but it is very simple to run.

By the way, you might consider running a ZFS filesystem instead of UFS. It has no minfree limitation, and is in general much easier to work with.
0
 
LVL 3

Author Comment

by:Saranyakkali
ID: 22686763
minfree 1%      maxbpg  2048    optim   time

/dev/md/dsk/d0         7.8G   5.9G   1.8G    77%    /

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 22

Expert Comment

by:blu
ID: 22686996
I would suggest using the truss command on the ftp server during the transfer to capture exactly what error is returned by the write command.
0
 
LVL 13

Expert Comment

by:Rowley
ID: 22687476
Also, try putting ftp in debug mode and watch what happens. To do this:

1/ svcadm disable ftp
2/ edit syslog.conf and add the following lines:

daemon.debug                        /var/adm/messages
daemon.info                              /var/adm/messages

Doesn't have to be /var/adm/messages, this is for example only.

3/ svcadm restart system-log
4/ open a duplicate session and tail -f /var/adm/messages if you want...
5/ start ftp manually in another window: /usr/sbin/in.ftpd -sld

You should see detailed debug info which may or may not give you/us some pointers as to what the problem is.
0
 
LVL 3

Accepted Solution

by:
Saranyakkali earned 0 total points
ID: 22743158
Sorry all, for the late reply.. found the issue with SVM File system..

We recrated the filesystem.. issue solved.. Thankyou all ..
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Bad Block Relocation for Synchronous GLVM AIX 7.1 2 84
Oracle Finace 3 104
Write an app 10 80
Field name with special character (Ñ) in Oracle 11 191
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question