server

Mysql Server Optimization

Hi Geeks, We are having serious MySQL(InnoDB) performance issues at a moment when we do: (10-20) insertions on TABLE1 (10-20) updates on TABLE2 Note: Both above operations happens within fraction of a second. And this occurs every few (10-15) minutes. And all online users (approx 400-600) doing read operation on join of TABLE1 & TA...

Multiple requests to server question

I have a DB with user accounts information. I've scheduled a CRON job which updates the DB with every new user data it fetches from their accounts. I was thinking that this may cause a problem since all requests are coming from the same IP address and the server may block requests from that IP address. Is this the case? If so, how do ...

Stop people from viewing contents of a directory

I want to stop people from viewing the contents of my images directory. I've built an app using Codeigniter and notice that they just have index.html pages with a 403 Forbidden message in all directories - is this a secure method to use? Is an index.html page in the directory sufficient or do I need to update config or .htaccess? ...

Text-based one-on-one chat with Flash interface: what to power the backend?

Hey guys. I'm building a website where I hook people up so that they can anonymously vent to strangers. You either choose to be a listener, or a talker, and then you get catapulted into a one-on-one chat room. The reason for the app's construction is because you often can't vent to friends, because your deepest vulnerabilities can oft...

How to shutdown local tomcat server when closing browser window?

Hi, I hava a web app running on a local tomcat server. When the user starts the app (via desktop shortcut) the server starts and the app is opened in a browser window. But when the user just clicks on the close button to stop the application the server is still running in the background - that's annoying. I tried to utilize the "unonl...

Is a million users hitting one file on the server the same as a million users hitting a million different files?

Is a million users hitting one file on the server the same as a million users hitting a million different files? ...

what happen if I delete the xx.jar file after I started to execute the xx.jar

I have a server program running a java binary code (xx.jar file) While it is running I erranously delete the xx.jar file. The program continues to run. But I am not sure if the results will be correct, and I am not sure if the program will fail? When I delete the xx.jar file, the program was in a method for a long time and still it is ...

How can i initialise a server on startup?

Hey all, I need to make some connections on startup of a server. I'm using the wcf technology for this client-server application. The problem is that the constructor of the server isn't called at any time, so for the moment, i initialize the connections when the first client makes a connection. But this generates problems in a further p...

nginx trailing slash issues

I'm googling a lot and found several workarounds, but you have to deinfe every single directory. On Apache: example.com/hi -> example.com/hi/ On nginx: example.com/hi -> Firefox can't establish a connection to the server at example.com:8888 where 8888 is what Apache is listening on (nginx's :80 -> localhost:8888) Any ideas how to fix ...

Move wordpress from home web server to web server hosting account

Hi, I've installed and tested Wordpress configurations on my home server which I use as my test server. Is it possible to upload everything, including Wordpress, from my home web server to my hosting account so it will work instantly there? Of course I need to change the database name, password, but that's about it. thanks! ...

Returning to an ASP.NET page

Hello, I'm on an asp.net page and I want to redirect to another page and then come back to the original page in the same spot to finish executing the original page. I heard that Server.Execute might work. My question is how can I accomplish this or can I accomplish this? ...

Server is on or off

Curious. I'm starting to broadcast high school football games online, and it uses a program to broadcast the feeds off my computer. However, when I shut the program down or the computer down, the server goes offline and guests won't be able to access the feeds. Is there any kind of code out there that I can post onto my website that wil...

Solutions for redundant server and client code?

In our system, the code which exists on the client side (in Flash and Javascript) mirrors the code that exists on the server side (e.g. in Python or PHP), normally with respect to the models, the methods available for those models, and the unit tests written for them. This becomes a problem in systems where you want to minimize data tran...

SVN update returns nothing, while it should

Hi everyone, First some background information; I've set up my SVN repository on my local server at home using VisualSVN Server. Using SSH on (or via php/shell script), i am able to check out a folder from this repository to the webserver, all goes well. Also updates and other svn commands execute normaly and return their messages. ...

How can I stop and start individual websites in IIS using PowerShell?

I have multiple sites configured in IIS7 on my Windows7 development machine to run on the same port and usually only run one at a time depending on what I'm working on. I would like to be able to start and stop my development sites from PowerShell instead of having the IIS manager opened. Does anyone have a good resource to point me in...

VB.Net plugin using Matlab COM Automation Server...Error: 'Could not load Interop.MLApp'

My Problem: I am using Matlab COM Automation Server to call and execute matlab .m files from a VB.Net plugin for a CAD program called Rhino 3D. The code works flawlessly when set up as a simple Windows Application in Visual Studio, but when I insert it (and make the requisite reference) into my .Net plugin and test it in the CAD program...

Zend_Soap with attachments (server)

i'm trying to build a SOAP service with Zend_Soap. Everything is working great but the client needs the ability to send attachments to the service (not base64 encoded strings, as this service will be called multiple times a day with various file sizes so processing all that in memory is not possible. So I'd like to handle a normal SOAP ...

MySQL table_cache and Windows 2048 File Descriptor woes

Hi all, I have a hosting/MySQL configuration issue that I hope someone can help with. I currently have a server running MySQL 4.1 along with PHP 4.4.7 and Apache 2.2. I think the most important factor given my current problem is the MySQL install. This server has around 150 databases on it, and as far as I can see I’m running into is...

Automatic upload of 10KB file to web service?

I am writing an application, similar to Seti@Home, that allows users to run processing on their home machine, and then upload the result to the central server. However, the final result is maybe a 10K binary file. (Processing to achieve this output is several hours.) What is the simplest reliable automatic method to upload this file to...

Problem when uploading php file

can anybody explain why uploaded php files treated by a server as a text file ? The symptom is when i try to access a php file, the server send me the content of the file. i have edited and put part of content as asked. This is output i see in the browser *** WHAT : Removinng Meta Box in Post using $pageshow thing WHY :*************...