Vi Hangs server while editing a 500k file???


 
Thread Tools Search this Thread
Operating Systems HP-UX Vi Hangs server while editing a 500k file???
# 1  
Old 03-01-2006
Vi Hangs server while editing a 500k file???

Just curious if anyone else has experienced this problem or has any ideas for resolution:

When editing files of size 500k using vi, the system hangs. Is there anything special I need to do in creating my filesystem or anything special I need to do to configure vi? I know there is a largefile option for file system creation, but 500k is not exactly a file size that I would consider large.

Any help would be greatly appreciated.

Thanks so much!

Stephen
# 2  
Old 03-01-2006
Largefile is usually considered over 2gb.

Are you sure the vi process is hanging and its not your telnet emulator that is hanging?

did you try a different type of editor?

Perhaps there are unreadable characters in the file?
# 3  
Old 03-01-2006
vi has to make a copy of a file to edit it. Maybe you did not wait long enough for the copy to complete?
# 4  
Old 03-01-2006
Thanks for both of your comments.

As it turns out the disk having the problem is an external array connected via fibre channel. I copied the file to a local disk connected via SCSI and on the SCSI disk I had no issues vi"ing" the file. I am looking into the Fibre Channel HBA or driver as the potential cause.

Any and all other comments would be appreciated.

Thanks again.
# 5  
Old 03-01-2006
How about a little info.. Smilie

OS release? Server model? Array model? Raid configuration? Alternate links in use? Topology? Under LVM or VXVM control? Any messages reported by dmesg? Any messages from the array's management interface? etc, etc, etc...
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

MySql server hangs due to /tmp full

Dear community, my sql and apache server (with CMW installed) hangs due to /tmp full: root@cms:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 224G 27G 186G 13% / tmpfs 3.9G 0 3.9G 0% /lib/init/rw udev 3.9G ... (7 Replies)
Discussion started by: Lord Spectre
7 Replies

2. Shell Programming and Scripting

Editing a file on remote server using shell script locally

Hi Scott, My previous post was not for any school or college projects. I am currently working with a IT company (Cannot provide more details than this). I am trying to implement the below script in my day-to-day work, Apologies for the confusion in previous post :). My question remains same... (4 Replies)
Discussion started by: Nishant Ladiwal
4 Replies

3. Shell Programming and Scripting

Editing a file on remote server using shell script locally

Hi All, I have below requirements for my project: 1. Building a shell script which connects to a remote server 2. running script on local machine as user 'A' 3. connecting to server using user 'B' with password 4. login with a powerbroker role 'P' (asks for same password as 'B') on that... (1 Reply)
Discussion started by: Nishant Ladiwal
1 Replies

4. Solaris

Server Hangs at boot

Hi Guys, I have a SunBlade 1500 which I use to practice at home. Suddenly when I power on the server it just displays the solaris banner and Boot device: disk File and args: Then it stops and says " rebooting with command: boot" It doesn't boot to the kernel. Is there anyway I can possibly... (5 Replies)
Discussion started by: cjashu
5 Replies

5. Solaris

Server Hangs

I have a Sun-Fire-V210, the Server hangs for sometime and evn console wont be abled to access and after sometime the server comes back active. the messages file shows this , whats causing this ? # tail -500 messages Jan 25 07:02:16 xxxxxxxxxxxxx Corrupt label; wrong magic number Jan 25... (2 Replies)
Discussion started by: Sojourner
2 Replies

6. Shell Programming and Scripting

script hangs when a remote server is down

Hi all, I have made a script which logins to remote servers and fetches some data from it. Is is working perfectly when all servers are reachable BUT my problem is -- if in case a server is down (or not reachable), the script hangs. Is there some way, that the script just continues to ssh... (6 Replies)
Discussion started by: vikas027
6 Replies

7. Linux

Script hangs on the unix server

We have a unix script scheduled to execute once in a day, some times it hangs on the server and never performs its operations, we need to manually kill the process and re-start that script, is there any way to have notification when the script hangs on the server. Thanks & Regards, Murthy. (3 Replies)
Discussion started by: Ramana Murthy
3 Replies

8. Filesystems, Disks and Memory

server Hangs during FTP transfer

We are backing up a oracle database by copying the datafiles from one server to another using FTP. while in the middle of the transfer the destination server closes the connection and it sort of hangs. After this we are not able to log onto the destination server using any other user apart from... (0 Replies)
Discussion started by: sgoundar
0 Replies

9. UNIX for Advanced & Expert Users

Solaris 9 server hangs, when rebooting

Hi, We have a SunFire V880, hooked up with 2 T3 arrays. When ever we issue a reboot command on the system, it hangs at the same place right where it says syncing file systems done. To bring it back we shutdown power and it comes clean. By the way init 6 command works fine. Has anyone come... (3 Replies)
Discussion started by: smohd
3 Replies
Login or Register to Ask a Question