Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Fahrvenugen

Pages: 1 ... 6 7 [8] 9 10 ... 14
106
Well, I think I can put this issue to rest.  It has now been a week since I switched 2 of the 3 servers that I was having the problem on over to PRIORITY=DYNAMIC in config.sys, and I have not yet had Apache lock up / freeze up on me and I can kill Apache with CTRL-C every time I've tried.   One server I ran on Apache 2.2.8 , the other 2.2.11, and both are working as expected now. 

Anyways, I'm just glad to have figured out the difficulty, and glad to be able to keep those systems running on OS/2 / eCS (my alternative was to switch at least one of those servers over to either Linux or Windows)

Thanks to everyone who helped with suggestions!

107
Internet / Re: Frustrations with Apache
« on: 2009.07.01, 20:39:56 »
Well, on servers where I've set priority=absolute and then individually set the priorities of the applications that are running using one of the various priority setting utilities out there based on which apps should have a quicker response time, I've found I usually can get a 25% - 40% performance boost when I benchmark compared to having priority=dynamic and let the system try and figure everything out.   And normally OS/2 applications have no difficulty running in either mode, but it appears that Apache probably has something going on with how it is doing its own prioritization of stuff that doesn't co-exist nicely with OS/2's priority=absolute feature.  Not that its a huge deal, its just good to know to make sure priority=dynamic on any systems running Apache.

Of course for workstations having the setting to dynamic normally gives better response, as it will boost whichever app has the focus of the keyboard / mouse.  I normally only change this setting on servers.


108
Internet / Re: Frustrations with Apache
« on: 2009.07.01, 00:58:52 »
Well, it looks like a priority inversion might be a cause of the problem.

That computer has run now for over 24 hours after rebooting with the setting PRIORITY=DYNAMIC in the config.sys (instead of setting it to ABSOLUTE) and Apache is still running and responding.  Furthermore sockets and ports are being closed as they should.

Sure enough, its memory usage grew from about 20 Megs to 80 Megs overnight, but this could be any number of things.

Furthermore, to suggest this might be the problem, I tried to kill Apache with CRTL-C, and it quit properly as it should.  The memory it used was released, and I ended up back at a command prompt.  Previously it would hang on a CRTL-C exit, so this is a good sign.

It'll take me a few more days of constant usage to convince me that the priority setting was causing the problem (and the solution), but at this point it looks like it is a good candidate.

Now I just need to try the latest build(s) of Apache and PHP (the current test machine is running the older Apache 2.2.8 with PHP 5.2.4)


109
Article Discussions / Re: Status update on eComStation 2.0
« on: 2009.06.30, 17:33:50 »
If I had $1 for every time that OS/2 was declared "dead", I'd probably be able to fund development for another 10 years!

But seriously, I've always taken the approach that it is best to use the best tool, software, OS, or whatever for the job at hand.  Sometimes that's OS/2, sometimes it is not.  It all depends on a variety of factors, including (but not limited to):

-What the task is
-Familiarity with the system
-Cost factors
-Politics / management decisions (which you may have no control over)
-What the current operating system / environment is
-Ability to quickly deploy a solution
-comfort with the system
-A variety of others factors too

For me its an operating system, just like others available (in some ways better then others, in some ways it is weaker / lacking features).   There are places I've installed OS/2 as a solution because it made most sense (one location I removed Linux from a machine, as it was working but not doing the best job it could, and moved over to an OS/2 based system).  Other places I've installed Linux because that made more sense.  And yes, I've installed Windows too.

So that's my advice (for anyone who cares).  If OS/2 / eCS makes sense for you, what you're doing, is working and you're happy with it, then go ahead and use it.  If it doesn't, then look to other alternatives.  It'll work for a lot of things, for others it is admittedly a weaker choice.


110
Internet / Re: Frustrations with Apache
« on: 2009.06.29, 20:55:20 »
 Well, I tried the various keepalive and maxrequests settings, and they made no difference, I still ran into the same issue.  But another thought just occured to me.  I've got all my servers set with:

PRIORITY=ABSOLUTE

in the config.sys.  If there's a priority inversion going on within Apache, it could cause an endless hang in OS/2's scheduler.

To test my theory, with priority=absolute on, I tried starting up Apache at a different priority level using Priority Master II, and it almost immediately ran into trouble.  This could be part of what's going on.

Is anyone else running Apache with PRIORITY=ABSOLUTE ?

For now I'm changing the setting in config.sys to PRIORITY=DYNAMIC on my test machine to see if that fixes anything.  I'll keep everyone updated.

111
Internet / Re: Frustrations with Apache and PHP
« on: 2009.06.29, 16:00:52 »
Hi,

Thanks for the suggestions, I'll add them to the Apache config file and let you know.

As for switching to the non-K versions of the stack files, that doesn't seem to make any difference. 

But I think I've narrowed it down to soemthing PHP related.  It has just stopped responding again on me, all the text and static html files are served just fine.  But if I try and hit any PHP files on the server, it is non-responsive.

 It doesn't appear to be MySQL, as that still responds to the CLI access via Mysql

And php itself works from a command prompt / CGI when I fire it from a command line on a test file.

There's something about running it with Apache that is causing issues for me. 






112
Internet / Re: Frustrations with Apache
« on: 2009.06.28, 22:34:55 »
Hi again,

I just had a thought that there might be something within afinetk.sys and socketsk.sys causing the problem, so I've switched over to afinet.sys and sockets.sys instead (it occured to me that I've had issues with the K versions of these 2 files in the past at other locations where I have Warp running).  If it fixes the issue I'll post an update to let everyone know.

Again, if anyone else has other ideas I'd love to hear them.

Thanks

113
Internet / Frustrations with Apache
« on: 2009.06.28, 20:33:04 »
Hi,

I'm posting this here because I'm hoping that maybe someone has run into this situation before.

One of the sites that I manage has 2 systems running OS/2, (actually, one is running a Warp 4 w/FP15, the other running eCS 1.2MR).  One of the tasks that each server is running includes a copy of MySQL, PHP, and a web server.  Up to now, the server that I was using was Dink's Web/2 with PHP as a CGI, this configuration has run flawlessly for approximately 2 years at that site.

We're in the process of switching one of our web sites that we host over to Wordpress, and have a need to use the aliased URL's that Apache can take advantage of (but Web/2 can't), so in order for this I switched over to Apache 2.2.11.

Since switching, I've run into endless difficulties with the setup.  It seems that what is happening is Apache over a brief period of time (less then 6 hours) and use open up a bunch of sockets, leave them open, and then freeze up.  Once frozen it'll still serve up static TXT and HTML files, but any type of PHP will just hang and never load up the web page.

If I try and kill Apache (with CTRL-C, or a process killer, including the death9 killer that can be activated through loading the xfree86 driver in config.sys) it'll hang Apache upon exit, it won't die.  Once Apache is hung, if I try and restart a new Apache it won't serve anything.  I know it has released the port as I can start up Dink's Web/2 and it'll run happily.  But to make things worse, once Apache hangs I can't soft-reboot the computer with a CTRL-ALT-DEL or a setboot /b (or any of the other ways to reboot the computer).  If this is tried it'll pop up the "rebooting" window then hang the whole system.  The only way to reboot is with the reset button / killing the power.

For testing purposes I tried both machines I have there, plus I tried setting up a spare (3rd) machine where its only purpose is Apache, MySQL, and PHP, running nothing else, fresh install.  And I have experienced the same result.

For Apache, I've tried Versions 2.2.11, 2.2.10, 2.2.9, 2.2.8, and 2.2.4.  For PHP I've tried Versions 5.2.10, 5.2.9, 5.2.8, 5.2.4. It doesn't seem to make much difference as to the version.  I've also tried setting up PHP within Apache using the PHP Apache module, plus I tried running PHP as a CGI (thinking that since Web/2 runs PHP as a CGI and Web/2 has never had any issues with PHP stuff, it might be something with the Apache DLL PHP module).  I ran into the same difficulty with both setups within Apache.

For TCP/IP, when I run inetver it comes up with everything at the 6.3100 version level.

Has anyone else run into this type of issue?  Could it be something in the TCP/IP stack causing the difficulty? 

Thanks,


114
Networking / Re: Connecting a Linux box to an OS/2 network
« on: 2009.06.27, 01:09:26 »
The easiest way, if your OS/2 network is set to use Netbios over TCP/IP, then run Samba on the Linux box.  Samba talks Netbios over TCP/IP.  But there may be some challenges with logins and security, as I know of no way for Samba to read the OS/2 Peer ACL file(s), so if account level security is needed on the Linux machine, you may need to re-create all the user ID's and passwords on the Linux box (which would be a pain IMHO).  But if you're not worried about security on the Linux box, then just leave the stuff with guest access on your OpenSUSE machine and it'll work.

The other way you could do it is with NFS, OS/2 does support NFS, there are ways to do that with XP too, but this would be adding another protocol to the mix on your network.




115
Of course I can tell you how to make your computer work!

...I've been fighting with this for over 30 days now and I just can't get it right. Can someone tell me how to make this piece of crap Vista comp work...

Since this is an OS/2 / eComStation forum that you have posted on, I can only believe that you're looking for an OS/2 / eComStation solution to the difficulties you're experiencing with Vista.

The first part of your solution is to ensure that you have eComStation.  You can find out how to purchase it from:  http://www.ecomstation.com/

Click on the "Where to Buy" link and chose one of the various online retailers to purchase your copy.

Then, simply pop in the CD (which, once purchased, can normally be downloaded and burned with any CD burner) and go through the install process. 

You may need some help with drivers for your network card, but once you get eComStation up and running, if you post specific questions about issues you're having then we'll be happy to be able to help more.

There certainly is a lot to eComStation, but when you're looking for an OS/2 solution to your difficulties with Vista, eComStation is the best option you can find.



(I know, I know, this user has already been banned, but I couldn't resist the response...)

116
Web applications / Re: Wordpress under OS/2
« on: 2009.05.21, 06:18:50 »
I've found that most PHP based web apps run quite well on Warp.  I've got an OS/2 based development web server that is running a variety of things, including: 

-Wordpress
-Bblog
-Joomla
-Drupal
-Limesurvey
-PhpMyAdmin
-Coppermine Photo Gallery
-Typo
-Xoops

I've got a couple of other things that I've installed on it over the years.  Generally it does quite well.

For the web server, I've used both Paul Smedley's port of Apache and Dink's Web/2.  For performance, I've found that Web/2 ( http://dink.org/web2/ ) seems to do a little better (and uses less memory, Apache seems to like to use a large amount of memory compared to Web/2), but for compatibility I've had better luck with Apache  (especially with Drupal, I had issues getting it to work with Web/2, but Apache it was quite happy)

For PHP, its Paul's builds (CGI on Web/2, the Apache module for Apache), same with MySQL


117


> You should be able to run the latest web-browser

There is one for OS/2? What is it?

Firefox 3.0.9 is available.  There is also a beta of Firefox 3.5.

Check:

http://www.os2bbs.com/os2news/Warpzilla.html

and

http://www.mozilla.org/ports/os2/


118
Setup & Installation / Re: OS/2 Warp 4 instalation crashes
« on: 2009.04.22, 18:00:01 »
Hi,

As I recall, for a large hard disk you need an updated FDISK for Warp 4.

Grab the update at:

http://service.software.ibm.com/os2dd/free/extpart/expartw4.exe

Its a self-extracting EXE, but you can unzip it with any good unzip app (Info-Zip can do it).  If you're working with an original build / install of Warp 4 (the 1996 version) you'll need to use the kernel, os2dump, loader, os2dasd.dmd file, format.com, and fdisk included in the file.  You can use the Danis driver instead of the IBM1S506 included in the EXE.

This FDISK works with drives larger then 8.7 GB.  You're still limited to putting the boot partition on a partition within the first 1024 cylinders of the drive though, but if you keep the boot partition to anywhere under 10 GB, you'll be fine (just about all my own boot partitions I usually set at 2 GB, then put everything else on another partition)

119
Multimedia / Re: Multiple sound cards in eCS / OS/2?
« on: 2009.03.02, 18:21:22 »
Thanks for everyone's help and suggestions.

To be honest, I have not had a chance to try any of them.  I'm in the process of moving, so at the moment things are hectic for me (aside from the fact that my test machine is packed right now).

Once I get my office set up again I'll give some of the suggestions a try and let everyone know what I've found.

Thanks again!

120
Setup & Installation / Re: My Warp 3 PC, under development
« on: 2009.02.20, 06:23:52 »
Hi,

There should be no problem getting Warp 3 to work on that computer, or to recognize your second hard disk or CD Rom, it likely just needs some updated drivers.

The base Warp 3 is ancient by today's standards, even when it came out it didn't take long for IBM to update the drivers to fix some of the very issues you've run into.

My advice is to replace the IBM1s506.add driver with danis506.add

You'll likely also need updated drivers in IBM's IDE fix, or... 

It is probably just easiest to install Fixpak 40.  This will update Warp 3 to the latest code level that IBM had available for Warp 3, plus install a bunch of the updated drivers too.

Since installing Warp 3 red / blue / Warp 3 Connect (red / blue), etc - has been covered before I'll just direct you to the previous posts.  Be sure to check:

http://www.os2world.com/cgi-bin/ultraboard/UltraBoard.cgi?action=Read&BID=62&TID=834&SID=jEZfDfp4FYY8aPhp

Also, for updating Warp, the following post deals with Warp 4, but many of the concepts are similar under Warp 3, so check it out too:

http://www.os2world.com/cgi-bin/ultraboard/UltraBoard.cgi?action=Read&BID=62&TID=1102&P=1&SID=jEZfDfp4FYY8aPhp#ID16

Fixpak info can be found at:

http://www.os2world.com/cgi-bin/ultraboard/UltraBoard.cgi?action=Read&BID=62&TID=698&P=1&SID=#ID5

As for a network card, it is definitely possible to get the card working with TCP/IP and online.  You just need to install MPTS (which can also be downloaded from IBM).  If you want to talk to other computers on the network via netbios file sharing, you'll need something more, either Warp Connect (which contains the Peer networking stuff), or you can also use the command line apps that are a part of Samba.

For the video upgrade, you'll likely need to have Fixpak 40 installed.  Once you do that, you can then run Scitech SNAP which will work with a lot of the newer video cards.

As for ODIN, that's more of a hit or miss.  Some people have managed to get it to somewhat work on Warp 3, but generally it doesn't work for most on Warp 3.  Your best bet is either Warp 4 or (preferably) eCS.


Pages: 1 ... 6 7 [8] 9 10 ... 14